Update of /cvsroot/fink/experimental/todai/ecc/main/finkinfo/kde
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30114

Added Files:
        arts.info arts.patch 
Log Message:
builddepend on automake1.6

--- NEW FILE: arts.info ---
Package: arts
Version: 1.4.1
Revision: 11ecc1
Description: KDE - analog realtime synthesizer
License: GPL
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>

Depends: %N-shlibs (>= %v-%r), audiofile-shlibs, daemonic, esound-bin, gettext, 
glib2-shlibs (>= 2.2.1-4), libiconv, libmad-shlibs, libogg-shlibs, 
libvorbis0-shlibs
BuildDepends: audiofile, autoconf2.5, automake1.6, cctools (>= 446) | 
cctools-single-module, esound, fink (>= 0.24-1), freetype219, gettext-dev, 
gettext-bin, gettext-tools, glib2 (>= 2.2.1-4), glib2-dev (>= 2.2.1-4), 
libiconv-dev, libjpeg, libogg, libpng3 (>= 1.2.5-4), libvorbis0, libmad, 
pkgconfig (>= 0.12.1-1), qt3 (>= 3.3.3-17), x11-dev
BuildConflicts: unsermake
Replaces: %N-dev (<< %v-%r)
GCC: 3.3

CustomMirror: <<
  nam-US: http://ranger.befunk.com/fink
  nam-US: http://astrange.ithinksw.net/~astrange/ranger-fink
  nam-CA: http://www.southofheaven.net/befunk
<<
Source: mirror:kde:stable/3.4.1/src/%n-%v.tar.bz2
Source-MD5: f632984ddc976a1e4243718af54559ee
SourceDirectory: %n-%v
Source2: mirror:custom:kde-admindir-3.4.0-6.tar.bz2
Source2-MD5: 5d0274369eba8c862178ba8e26639cc3
Source2ExtractDir: %n-%v

PatchScript: <<
  sed -e 's,@FINKPREFIX@,%p,g' %a/%n.patch | patch -p1
  perl -pi.bak -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; 
s,/usr/share/doc/packages/qt3/html,%p/share/doc/qt3/html,g' admin/*
<<

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
ConfigureParams: --includedir=%p/include --libdir=%p/lib 
--with-extra-includes=%p/include --with-extra-libs=%p/lib --with-qt-dir=%p 
--with-qt-includes=%p/include/qt --enable-rpath --with-pic --enable-shared=yes 
--enable-static=no --mandir=%p/share/man --infodir=%p/share/info 
--libexecdir=%p/lib --with-xinerama --with-pam --disable-final 
--with-distribution='Fink/Mac OS X' --disable-dependency-tracking
CompileScript: <<
#!/bin/sh -e

  export HOME=/tmp
  export PREFIX="%p"
  . ./environment-helper.sh
  export CPPFLAGS="$CPPFLAGS -UHAVE_REALTIME_SCHED"
  export lt_cv_sys_max_cmd_len=65536

  export CC=gcc-3.3 CXX=g++-3.3

  PRODUCT_VERSION=`uname -r`

  case $PRODUCT_VERSION in 
    8*)
      export CPPFLAGS="$CPPFLAGS -DTIGER_DLSYM_HACK=1"
      ;;
  esac

  ./build-helper.sh cvs       %N %v %r make -f admin/Makefile.common cvs
  ./build-helper.sh configure %N %v %r ./configure %c

  perl -pi -e 's,@\kdeinitdir\@,%p/lib/kde3,' soundserver/Makefile

  ./build-helper.sh make      %N %v %r make all all_libraries="$ALL_LIBRARIES"
<<

InstallScript: <<
#!/bin/sh -e

  export PREFIX="%p"
  . ./environment-helper.sh

  ./build-helper.sh install %N %v %r make -j1 install DESTDIR=%d

  mkdir -p %i/share/doc/installed-packages
  touch %i/share/doc/installed-packages/%N
<<
DocFiles: COPYING COPYING.LIB INSTALL
SplitOff: <<
  Package: %N-shlibs
  Description: KDE - arts shared libraries
  Depends: audiofile-shlibs, esound-shlibs, freetype219-shlibs, gettext, 
glib2-shlibs (>= 2.2.1-4), libiconv, libmad-shlibs, libogg-shlibs, 
libpng3-shlibs (>= 1.2.5-4), libvorbis0-shlibs, qt3-shlibs (>= 3.3.3-17), x11
  Replaces: %N (<< %v-%r)
  Recommends: %N (>= %v-%r)
  Files: <<
    lib/libartsc.0*.dylib
    lib/libartsflow.1*.dylib
    lib/libartsflow_idl.1*.dylib
    lib/libgmcop.1*.dylib
    lib/libkmedia2.1*.dylib
    lib/libkmedia2_idl.1*.dylib
    lib/libmcop.1*.dylib
    lib/libmcop_mt.1*.dylib
    lib/libqtmcop.1*.dylib
    lib/libsoundserver_idl.1*.dylib
    lib/libx11globalcomm.1*.so
  <<
  Shlibs: <<
    %p/lib/libartsc.0.dylib 1.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libartsflow.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libartsflow_idl.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libgmcop.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libkmedia2.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libkmedia2_idl.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libmcop.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libmcop_mt.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libqtmcop.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
    %p/lib/libsoundserver_idl.1.dylib 2.0.0 arts-shlibs (>= 1.4.0-1)
  <<
<<
SplitOff2: <<
  Package: %N-dev
  Description: KDE - arts development headers and libraries
  Depends: %N-shlibs (>= %v-%r), %N (>= %v-%r)
  Replaces: %N (<< %v-%r)
  Recommends: audiofile, autoconf2.5, esound-bin, fink (>= 0.20.2.1-1), glib2, 
libogg, libpng3 (>= 1.2.5-4), libvorbis0, libmad, pkgconfig (>= 0.12.1-1), qt3 
(>= 3.3.3-7), x11-dev
  BuildDependsOnly: true
  Files: <<
    bin/artsc-config
    bin/mcopidl
    include
    lib/libartsc.dylib
    lib/libartsflow.dylib
    lib/libartsflow_idl.dylib
    lib/libgmcop.dylib
    lib/libkmedia2.dylib
    lib/libkmedia2_idl.dylib
    lib/libmcop.dylib
    lib/libmcop_mt.dylib
    lib/libqtmcop.dylib
    lib/libsoundserver_idl.dylib
    lib/libx11globalcomm.so
  <<
<<

DaemonicFile: <<
  <service>
    <description>Analog Realtime Synthesizer Server</description>
    <message>Analog Realtime Synthesizer Server</message>

    <daemon name="artsd">
      <executable background="yes">%p/bin/artsd</executable>
      <!-- the daemon will background itself, but may take a while
           to start up to the point where it does so -->
      <pidfile>%p/var/run/arts.pid</pidfile>
    </daemon>

  </service>
<<
DaemonicName: arts

Homepage: http://linux.twc.de/arts/
DescDetail: <<
aRts is a framework for developing modular multimedia applications. The
sound server, artsd, allows multiple applications to cooperatively process
and output sound and music. aRts is designed to provide its filter and
synthesis capabilities to other applications using the multimedia
communication protocol (MCOP). aRts is also capable of modular realtime
synthesis. It can create sounds & music (realtime midi synthesis) using
small modules like oscillators for creating waveforms, various filters,
mixers, faders, etc.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography).  Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

  /sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

  export KDEWM=quartz-wm

Note that depending on your version of Apple's X11, this can cause
strange resizing issues with the kicker (KDE task bar).

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.  

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up.  You can remove this by disabling
desktop icons in the KDE control center.  Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.
   
---[ Removal ]--------------------------------------------------------
   
To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:
   
  sudo apt-get remove kdelibs3-ssl-shlibs kdelibs3-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base.  For example, to
remove all of the kdenetwork3 packages, run:

  sudo apt-get remove kdenetwork3-base
<<

--- NEW FILE: arts.patch ---
--- arts-1.4.0/flow/audioioesd.cc       2005-02-03 05:19:06.000000000 -0500
+++ arts-1.4.0-new/flow/audioioesd.cc   2005-05-10 08:12:35.000000000 -0400
@@ -213,6 +213,9 @@
                // of any portable way to peek at the socket's send or receive
                // buffers.
 
+       case autoDetect:
+               return 12;
+
        default:
                return param(p);
        }
--- arts-1.4.0/flow/gsl/Makefile.am     2005-02-03 05:19:06.000000000 -0500
+++ arts-1.4.0-new/flow/gsl/Makefile.am 2005-05-10 08:12:35.000000000 -0400
@@ -15,7 +15,7 @@
 libgsl_la_LIBADD = $(top_builddir)/mcop/libmcop.la -lm $(LIBPOSIX4) 
$(GSL_LIBS) $(LIB_POLL) $(GLIB_LIBADD)
 libgsl_la_LDFLAGS = -no-undefined $(all_libraries)
 
-#noinst_PROGRAMS = $(GSL_NOINST_PROGS)
+noinst_PROGRAMS = $(GSL_NOINST_PROGS)
 
 GSL_progs_ldadd = libgsl.la -lm $(LIBPTHREAD)
 
--- arts-1.4.0/libltdl/ltdl.c   2004-09-07 07:13:36.000000000 -0400
+++ arts-1.4.0-new/libltdl/ltdl.c       2005-05-10 08:12:35.000000000 -0400
@@ -643,7 +643,20 @@
      lt_module module;
      const char *symbol;
 {
+#ifdef TIGER_DLSYM_HACK
+  lt_ptr address = NULL;
+  char* u_symbol = NULL;
+  int val=asprintf(&u_symbol,"_%s",symbol);
+  address = NSAddressOfSymbol(NSLookupSymbolInModule(module,u_symbol));
+  if (((!strcmp("__kde_do_not_unload",symbol)) && 
(!strcmp("__kde_do_unload",symbol)))) {
+    if ((NULL == address) && NSIsSymbolNameDefined(u_symbol)) {
+      address = dlsym (module, symbol);
+    }
+  }
+  free(u_symbol);
+#else
   lt_ptr address = dlsym (module, symbol);
+#endif
 
   if (!address)
     {
--- arts-1.4.0/soundserver/Makefile.am  2005-02-03 05:19:06.000000000 -0500
+++ arts-1.4.0-new/soundserver/Makefile.am      2005-05-10 08:20:55.000000000 
-0400
@@ -51,37 +51,38 @@
 
 ###### "real" programs
 
-bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec
+bin_PROGRAMS = artswrapper
+kdeinit_LTLIBRARIES = artsd.la artsplay.la artscat.la artsshell.la artsrec.la
 
-artsd_LDADD = libsoundserver_idl.la $(FLOWLIBS) \
+artsd_la_LIBADD = libsoundserver_idl.la $(FLOWLIBS) \
               $(top_builddir)/mcop_mt/libmcop_mt.la
-artsd_LDFLAGS = $(USE_THREADS)
-artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc 
simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc 
crashhandler.cc soundserverstartup_impl.cc
-artsd_COMPILE_FIRST = soundserver.h artsversion.h
-
-artscat_LDADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD)
-artscat_LDFLAGS = $(USE_THREADS)
-artscat_SOURCES = artscat.cc
-artscat_COMPILE_FIRST = soundserver.h artsversion.h 
-
-artsrec_LDADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD)
-artsrec_LDFLAGS = $(USE_THREADS)
-artsrec_SOURCES = artsrec.cc
-artsrec_COMPILE_FIRST = soundserver.h artsversion.h
-
-artsplay_LDADD = libsoundserver_idl.la $(LIBPTHREAD)
-artsplay_LDFLAGS = $(USE_THREADS)
-artsplay_SOURCES = artsplay.cc
-artsplay_COMPILE_FIRST = soundserver.h artsversion.h
+artsd_la_LDFLAGS = $(USE_THREADS) -module
+artsd_la_SOURCES = soundserverv2_impl.cc soundserver_impl.cc 
simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc 
crashhandler.cc soundserverstartup_impl.cc
+artsd_la_COMPILE_FIRST = soundserver.h artsversion.h
+
+artscat_la_LIBADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD)
+artscat_la_LDFLAGS = $(USE_THREADS) -module
+artscat_la_SOURCES = artscat.cc
+artscat_la_COMPILE_FIRST = soundserver.h artsversion.h 
+
+artsrec_la_LIBADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD)
+artsrec_la_LDFLAGS = $(USE_THREADS) -module
+artsrec_la_SOURCES = artsrec.cc
+artsrec_la_COMPILE_FIRST = soundserver.h artsversion.h
+
+artsplay_la_LIBADD = libsoundserver_idl.la $(LIBPTHREAD)
+artsplay_la_LDFLAGS = $(USE_THREADS) -module
+artsplay_la_SOURCES = artsplay.cc
+artsplay_la_COMPILE_FIRST = soundserver.h artsversion.h
 
 artswrapper_SOURCES = artswrapper.c
 artswrapper_INCLUDES = -I$(top_builddir) -DEXECUTE=\"$(artsdpath)\"
 artswrapper_LDADD = $(LIBPOSIX4)
 
-artsshell_LDADD = libsoundserver_idl.la $(LIBPTHREAD)
-artsshell_LDFLAGS = $(USE_THREADS)
-artsshell_SOURCES = artsshell.cc tradercheck.cc
-artsshell_COMPILE_FIRST = soundserver.h artsversion.h ../flow/artsflow.h
+artsshell_la_LIBADD = libsoundserver_idl.la $(LIBPTHREAD)
+artsshell_la_LDFLAGS = $(USE_THREADS) -module
+artsshell_la_SOURCES = artsshell.cc tradercheck.cc
+artsshell_la_COMPILE_FIRST = soundserver.h artsversion.h ../flow/artsflow.h
 
 DISTCLEANFILES = soundserver.cc soundserver.h soundserver.mcopclass \
   soundserver.mcoptype kmedia2.h kmedia2.cc kmedia2.mcopclass kmedia2.mcoptype 
artsversion.h
--- arts-1.4.0/soundserver/artscat.cc   2003-07-05 18:20:23.000000000 -0400
+++ arts-1.4.0-new/soundserver/artscat.cc       2005-05-10 08:15:19.000000000 
-0400
@@ -178,7 +178,7 @@
        exit(1);        
 }
 
-int main(int argc, char **argv)
+extern "C" int kdemain(int argc, char **argv)
 {
        bool titleSetByUser = false;
        int optch;
--- arts-1.4.0/soundserver/artsd.cc     2004-11-05 13:33:20.000000000 -0500
+++ arts-1.4.0-new/soundserver/artsd.cc 2005-05-10 08:15:25.000000000 -0400
@@ -249,7 +249,7 @@
        cerr << endl;
 }
 
-int main(int argc, char **argv)
+extern "C" int kdemain(int argc, char **argv)
 {
        handleArgs(argc, argv);
 
--- arts-1.4.0/soundserver/artsplay.cc  2003-03-07 17:07:30.000000000 -0500
+++ arts-1.4.0-new/soundserver/artsplay.cc      2005-05-10 08:15:31.000000000 
-0400
@@ -50,7 +50,7 @@
                return string(buffer) + '/' + path;
 }
 
-int main(int argc, char **argv)
+extern "C" int kdemain(int argc, char **argv)
 {
        if(argc != 2)
        {
--- arts-1.4.0/soundserver/artsrec.cc   2003-07-05 18:20:23.000000000 -0400
+++ arts-1.4.0-new/soundserver/artsrec.cc       2005-05-10 08:15:37.000000000 
-0400
@@ -136,7 +136,7 @@
        exit(1);        
 }
 
-int main(int argc, char **argv)
+extern "C" int kdemain(int argc, char **argv)
 {
        int optch;
        while((optch = getopt(argc,argv,"r:b:c:hv")) > 0)
--- arts-1.4.0/soundserver/artsshell.cc 2003-07-29 04:31:54.000000000 -0400
+++ arts-1.4.0-new/soundserver/artsshell.cc     2005-05-10 08:15:45.000000000 
-0400
@@ -643,7 +643,7 @@
        return 0;
 }
 
-int main(int argc, char *argv[])
+extern "C" int kdemain(int argc, char *argv[])
 {
        Arts::Dispatcher dispatcher;
        Arts::SoundServerV2 server(Arts::Reference("global:Arts_SoundServer"));
--- arts-1.4.0/x11/Makefile.am  2005-01-03 09:24:21.000000000 -0500
+++ arts-1.4.0-new/x11/Makefile.am      2005-05-10 08:12:35.000000000 -0400
@@ -6,7 +6,7 @@
 
 libx11globalcomm_la_SOURCES = x11globalcomm.cc x11globalcomm_impl.cc
 libx11globalcomm_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIB_X11)
-libx11globalcomm_la_LDFLAGS = -no-undefined -module -version-info 1:0 
$(X_LDFLAGS) $(all_libraries)
+libx11globalcomm_la_LDFLAGS = -no-undefined -module -version-info 1:0 
$(all_libraries) $(X_LDFLAGS)
 
 DISTCLEANFILES = x11globalcomm.cc x11globalcomm.h \
                  x11globalcomm.mcoptype x11globalcomm.mcopclass



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to