[89506] trunk/dports/kde

nicos at macports.org nicos at macports.org
Wed Feb 1 05:24:25 PST 2012


Revision: 89506
          http://trac.macports.org/changeset/89506
Author:   nicos at macports.org
Date:     2012-02-01 05:24:22 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
kfloppy: adding port after splitting of kdeutils4 in KDE 4.8.0

Added Paths:
-----------
    trunk/dports/kde/kfloppy/
    trunk/dports/kde/kfloppy/Portfile
    trunk/dports/kde/kfloppy/files/
    trunk/dports/kde/kfloppy/files/patch-CMakeLists.txt.diff
    trunk/dports/kde/kfloppy/files/patch-format.cpp.diff

Added: trunk/dports/kde/kfloppy/Portfile
===================================================================
--- trunk/dports/kde/kfloppy/Portfile	                        (rev 0)
+++ trunk/dports/kde/kfloppy/Portfile	2012-02-01 13:24:22 UTC (rev 89506)
@@ -0,0 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           kde4   1.1
+
+name                kfloppy
+version             4.8.0
+categories          kde kde4
+license             GPL-2+
+maintainers         nicos openmaintainer
+description         Format floppy disks.
+long_description    KFloppy is a utility that provides a straightforward \
+                    graphical means to format 3.5" and 5.25" floppy disks.
+platforms           darwin
+homepage            http://utils.kde.org/projects/kfloppy/
+master_sites        kde:stable/${version}/src
+use_bzip2           yes
+distname            ${name}-${version}
+checksums           rmd160  9d625eb40b0f0d10dfcb72f1df9ae438e754c173 \
+                    sha256  d0ccc98edee9afb8b5d6caa93f380836b72b6442061e08ebf693b1eafcd44d1a
+
+patchfiles          patch-format.cpp.diff
+
+depends_run-append  port:dcfldd
+
+depends_lib-append  port:kdelibs4 \
+                    port:oxygen-icons
+
+if {![variant_isset doc]} {
+    patchfiles-append   patch-CMakeLists.txt.diff
+}
+
+livecheck.url       http://kde.mirrors.hoobly.com/stable/${version}/src
+livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}


Property changes on: trunk/dports/kde/kfloppy/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/kde/kfloppy/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/kde/kfloppy/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/kde/kfloppy/files/patch-CMakeLists.txt.diff	2012-02-01 13:24:22 UTC (rev 89506)
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2012-01-30 11:17:53.000000000 +0900
++++ CMakeLists.txt	2012-01-30 11:17:55.000000000 +0900
+@@ -39,4 +39,4 @@
+ 
+ kde4_install_icons( ${ICON_INSTALL_DIR}   )
+ 
+-add_subdirectory(doc)
++#add_subdirectory(doc)

Added: trunk/dports/kde/kfloppy/files/patch-format.cpp.diff
===================================================================
--- trunk/dports/kde/kfloppy/files/patch-format.cpp.diff	                        (rev 0)
+++ trunk/dports/kde/kfloppy/files/patch-format.cpp.diff	2012-02-01 13:24:22 UTC (rev 89506)
@@ -0,0 +1,18 @@
+--- format.cpp.orig	2011-12-03 18:39:04.000000000 +0900
++++ format.cpp	2012-02-01 22:18:51.000000000 +0900
+@@ -554,13 +554,13 @@
+     FloppyAction(p)
+ {
+     kDebug(KFAREA) << k_funcinfo ;
+-    theProcessName = QString::fromLatin1("dd");
++    theProcessName = QString::fromLatin1("dcfldd");
+     setObjectName( QLatin1String("DD" ));
+ }
+ 
+ /* static */ bool DDZeroOut::runtimeCheck()
+ {
+-    m_ddName = findExecutable(QLatin1String( "dd" ));
++    m_ddName = findExecutable(QLatin1String( "dcfldd" ));
+     return (!m_ddName.isEmpty());
+ }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/044ae487/attachment-0001.html>


More information about the macports-changes mailing list