Ignore:
Timestamp:
Feb 27, 2006, 4:18:30 AM (14 years ago)
Author:
ben
Message:

Bug: 7475
Submitted by: takanori@
Reviewed by: ben@
Version bump to 3.5.1. Thanks takanori!

Location:
trunk/dports/kde/kdeartwork3
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdeartwork3/Portfile

    r13883 r16643  
    1 # $Id: Portfile,v 1.1 2005/09/04 22:34:41 ben Exp $
     1# $Id: Portfile,v 1.2 2006/02/27 04:18:07 ben Exp $
     2
     3set kdeadmin kde-admindir-3.5.0-2
    24
    35PortSystem 1.0
    46name            kdeartwork3
    5 version         3.4.1
     7version         3.5.1
    68categories      kde
    7 maintainers     ben@opendarwin.org
     9maintainers     ben@opendarwin.org takanori@opendarwin.org
    810description     KDE additional artwork. \
    9                 NB No KDE sound support.
     11                NB No KDE sound support.
    1012platforms       darwin
    1113master_sites    kde:stable/${version}/src \
     
    1416use_bzip2       yes
    1517distname        kdeartwork-${version}
    16 distfiles       ${distname}.tar.bz2 kde-admindir-3.4.1.tar.bz2:admin
    17 depends_lib     lib:libkdecore.4.2.0:kdelibs3 \
    18                 lib:libkonq.4.2.0:kdebase3
     18distfiles       ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
     19depends_build   port:autoconf \
     20                port:automake
     21depends_lib     port:kdebase3
    1922
    20 checksums       kdeartwork-${version}.tar.bz2 md5 0f58245c2fa3c58dbe139da43037a203 \
    21                 kde-admindir-3.4.1.tar.bz2 md5 0388fc87fa950791209ad4ab791b32cd \
    22                 detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
     23checksums       ${distname}.tar.bz2 md5 8053bb1a1b2a5844b29f5f96328b1d96 \
     24                ${kdeadmin}.tar.bz2 md5 444f6ccbe74646c5313dd0b4fa4b36ac
    2325
    24 set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
    25 
    26 platform darwin 6 {
    27                 depends_lib-append      lib:libdl:dlcompat
    28 }
     26extract.only ${distname}.tar.bz2
     27post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
    2928
    3029patchfiles      kdeartwork3.patch
    31 patch.args      -p1
    32 
     30patch           {
     31                cd ${worksrcpath}
     32                foreach file $patchfiles {
     33                    system "sed -e 's,@FINKPREFIX@,${prefix},g' ${portpath}/${filesdir}/${file} | patch -p1"
     34                }
     35}
    3336post-patch      {
    34                 system "cd '${worksrcpath}' && if test -d ../admin; then cp -Rf ../admin/ admin; fi"
    35                 system "cd '${worksrcpath}' && if test -d ../libltdl; then cp -Rf ../libltdl/ libltdl; fi"
    36                 system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
    37                 foreach file [glob admin/*] {
     37                reinplace "s|lib/freetype219/||g" ${worksrcpath}/environment-helper.sh
     38                foreach file [glob ${worksrcpath}/admin/*] {
    3839                    reinplace "s|-O2|-Os|g" $file
    3940                    reinplace "s|doc/HTML|doc/kde|g" $file
    4041                    reinplace "s|/usr/share/doc/packages/qt3/html|${prefix}/share/doc/qt3/html|g" $file
    41                     reinplace "s|HAVE_GCC_VISIBILITY=1|HAVE_GCC_VISIBILITY=0|g" $file
    42                     reinplace "s|-fvisibility=hidden -fvisibility-inlines-hidden||g" $file
     42                }
     43                foreach file {CompileScript.sh InstallScript.sh} {
     44                    file copy ${portpath}/${filesdir}/${file} ${worksrcpath}
     45                    reinplace "s|%p|${prefix}|g" ${worksrcpath}/${file}
     46                    reinplace "s|%N|${name}|g" ${worksrcpath}/${file}
     47                    reinplace "s|%v|${version}|g" ${worksrcpath}/${file}
     48                    reinplace "s|%r|${revision}|g" ${worksrcpath}/${file}
     49                    reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${file}
     50                    reinplace "s|%d|${destroot}|g" ${worksrcpath}/${file}
     51                    reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${file}
     52                    file attributes ${worksrcpath}/${file} -permissions 0755
    4353                }
    4454}
    4555
    46 configure.env   CC=gcc-3.3 CXX=g++-3.3 \
    47                 CFLAGS='-Os' CXXFLAGS='-Os' \
    48                 CPPFLAGS='-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/freetype2/freetype -I${prefix}/include -I${prefix}/include/qt3 -I/usr/include/gssapi -no-cpp-precomp -fno-common -UHAVE_REALTIME_SCHED' \
    49                 LDFLAGS='-L/usr/X11R6/lib -L${prefix}/lib' \
    50                 LIBS='-L${prefix}/lib' \
    51                 lt_cv_sys_max_cmd_len=65536
     56configure.args  --includedir=${prefix}/include --libdir=${prefix}/lib --prefix=${prefix} --with-qt-dir=${prefix} --with-qt-includes=${prefix}/include/qt3 --with-extra-libs=${prefix}/lib --with-extra-includes=${prefix}/include --enable-mt --with-pic --enable-rpath --enable-shared=yes --enable-static=no --mandir=${destroot}${prefix}/share/man --with-xinerama --with-pam --disable-final --with-distribution='DarwinPorts/Mac OS X' --disable-dependency-tracking --without-arts
    5257
    53 configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
    54                 --with-extra-includes='${prefix}/include:/usr/include/gssapi' \
    55                 --with-extra-libs='${prefix}/lib' \
    56                 --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
    57                 --with-plugins='${prefix}/lib/qt3-plugins' \
    58                 --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
    59                 --libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
    60                 --disable-dependency-tracking --enable-cups --with-ldap \
    61                 --mandir=${prefix}/share/man --with-pam --with-distribution='DarwinPorts/Mac OS X' \
    62                 --with-ssl-dir=/usr --with-ssl --with-gssapi=framework --disable-dependency-tracking \
    63                 --without-arts
    64 
    65 build.env       ${configure.env}
    66 build.target    all all_libraries="-L${prefix}/lib -L/usr/X11R6/lib -L/usr/lib" KDM_FLAGS="-UHAVE_UTMPX -DBSD_UTMP=1"
    67 
    68 destroot.args   -j1
    69 destroot.target install
     58configure       {}
     59build           { system "cd ${worksrcpath} && ./CompileScript.sh" }
     60destroot        { system "cd ${worksrcpath} && ./InstallScript.sh" }
    7061
    7162post-destroot   {
    72                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/kbabel.png"
    73                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/kspaceduel.png"
    74                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/kspreadcalc.png"
    75                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/ktimemon.png"
    76                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/ktux.png"
    77                 system "rm ${destroot}${prefix}/share/icons/Locolor/16x16/apps/lskat.png"
    78                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/kbabel.png"
    79                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/kspaceduel.png"
    80                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/kspreadcalc.png"
    81                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/ktimemon.png"
    82                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/ktux.png"
    83                 system "rm ${destroot}${prefix}/share/icons/Locolor/32x32/apps/lskat.png"
     63                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     64                xinstall -m 644 -W ${worksrcpath} README ${destroot}${prefix}/share/doc/${name}
     65
     66                #these icons are provided by kdesdk3
     67                file delete ${destroot}${prefix}/share/icons/Locolor/16x16/apps/kbabel.png
     68                file delete ${destroot}${prefix}/share/icons/Locolor/16x16/apps/ktimemon.png
     69                file delete ${destroot}${prefix}/share/icons/Locolor/32x32/apps/kbabel.png
     70                file delete ${destroot}${prefix}/share/icons/Locolor/32x32/apps/ktimemon.png
     71
     72                #rename "Locolor" to "locolor"
     73                file rename ${destroot}${prefix}/share/icons/Locolor ${destroot}${prefix}/share/icons/locolor
    8474}
     75
     76platform darwin 6 {
     77        depends_lib-append      lib:libdl:dlcompat
     78}
  • trunk/dports/kde/kdeartwork3/files/kdeartwork3.patch

    r13883 r16643  
    1 diff -uNr kdeartwork-3.4.0/kscreensaver/kdesavers/rotation.cpp kdeartwork-3.4.0-new/kscreensaver/kdesavers/rotation.cpp
    2 --- kdeartwork-3.4.0/kscreensaver/kdesavers/rotation.cpp        Fri Jan  7 06:25:54 2005
    3 +++ kdeartwork-3.4.0-new/kscreensaver/kdesavers/rotation.cpp    Mon Feb 28 11:08:01 2005
    4 @@ -83,13 +83,13 @@
    5  EulerOdeSolver::EulerOdeSolver(
    6     const double &_t,
    7     const double &_dt,
    8 -   const double &_A,
    9 -   const double &_B,
    10 -   const double &_C,
    11 -   std::valarray<double> &_y,
    12 +   const double &fooA,
    13 +   const double &fooB,
    14 +   const double &fooC,
    15 +   std::valarray<double> &fooy,
    16     const double &_eps)
    17 -   : RkOdeSolver<double>(_t,_y,_dt,_eps),
    18 -     A(_A), B(_B), C(_C)
    19 +   : RkOdeSolver<double>(_t,fooy,_dt,_eps),
    20 +     A(fooA), B(fooB), C(fooC)
    21  {
    22  }
    23  
    24 diff -uNr kdeartwork-3.4.0/kscreensaver/kdesavers/rotation.h kdeartwork-3.4.0-new/kscreensaver/kdesavers/rotation.h
    25 --- kdeartwork-3.4.0/kscreensaver/kdesavers/rotation.h  Fri Apr 16 19:42:39 2004
    26 +++ kdeartwork-3.4.0-new/kscreensaver/kdesavers/rotation.h      Mon Feb 28 11:08:01 2005
    27 @@ -40,10 +40,10 @@
     1diff -uNr kdeartwork-3.5.0/kscreensaver/kdesavers/rotation.h kdeartwork-3.5.0-new/kscreensaver/kdesavers/rotation.h
     2--- kdeartwork-3.5.0/kscreensaver/kdesavers/rotation.h  Mon Oct 10 10:53:54 2005
     3+++ kdeartwork-3.5.0-new/kscreensaver/kdesavers/rotation.h      Sat Jan 14 13:08:14 2006
     4@@ -41,10 +41,10 @@
    285     * @param t Time in seconds, integration variable
    296     * @param dt Initial time increment in seconds for integration, auto adjusted
     
    4017     * vectors e1, e2, e3 (elements 3 to 5, 6 to 8, and 9 to 11).
    4118     * @param eps Relative precision per integration step, see
    42 @@ -51,10 +51,10 @@
     19@@ -52,10 +52,10 @@
    4320    EulerOdeSolver(
    4421       const double &t,
Note: See TracChangeset for help on using the changeset viewer.