Permalink
Browse files

Initial import of sources from dll.nu/duper/dist/, with some Mac stuf…

…f added
  • Loading branch information...
0 parents commit 46af20a1dbe43b92114516402a2f502913079ed5 @pajp committed Mar 29, 2009
BIN Duper.dmg
Binary file not shown.
Binary file not shown.
BIN Icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN Icon.xcf
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 README
@@ -0,0 +1,4 @@
+Duper - a simple Java/SWT program for removing duplicate files.
+
+For more information, see http://dll.nu/duper/
+
@@ -0,0 +1,2 @@
+swt-jar=libs/swt.jar
+md5-jar=libs/fast-md5.jar
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<!--
+ Denna fil innehåller endast tasks för att bygga och signera jar-filerna.
+
+ För att signera måste filen "build.properties" finnas i samma katalog,
+ och innehålla värden för "storepass" och "storealias" (som motsvarar
+ lösenord och alias i din java-keystore).
+ -->
+
+<project name="duper" default="duper" basedir=".">
+ <property file="build.properties" />
+
+ <target name="duper">
+ <javac srcdir="src" destdir="classes"
+ bootclasspath="${bootclasspath}">
+ <classpath>
+ <pathelement path="${swt-jar}" />
+ <pathelement path="${md5-jar}" />
+ </classpath>
+ </javac>
+ </target>
+
+
+<!--
+hdiutil create -srcfolder public/mac -volname Duper Duper.dmg
+hdiutil internet-enable -yes Duper.dmg
+-->
+
+ <target name="macbundle" depends="macapp">
+ <delete file="public/Duper.dmg"/>
+ <exec executable="hdiutil" os="Mac OS X">
+ <arg line="create -srcfolder public/mac -volname Duper public/Duper.dmg"/>
+ </exec>
+ <exec executable="hdiutil" os="Mac OS X">
+ <arg line="internet-enable -yes public/Duper.dmg"/>
+ </exec>
+ </target>
+
+ <target name="macapp" depends="duper">
+ <copy todir="public/mac/Duper.app/Contents/MacOS/">
+ <fileset dir="classes/"/>
+ </copy>
+ </target>
+
+ <target name="jar" depends="duper">
+ <jar destfile="public/duper.jar">
+ <fileset dir="classes">
+ <include name="**/*.class"/>
+ </fileset>
+ <!-- fileset dir="resources" / -->
+
+ <manifest>
+ <attribute name="Built-By" value="Rasmus Sten"/>
+ <attribute name="Main-Class" value="nu.dll.duper.GUI"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="sign" depends="jar">
+ <echo message="Using store alias ${storealias}" />
+ <signjar jar="public/duper.jar" storepass="${storepass}" alias="${storealias}" />
+ </target>
+
+</project>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<jnlp
+ spec="1.0+"
+ codebase="http://dll.nu/duper/"
+ href="duper.jnlp">
+ <information>
+ <title>Duper</title>
+ <vendor>Rasmus Sten/Bricole</vendor>
+ <homepage href="http://dll.nu/duper/"/>
+ <description>A dupe file detection and removal tool</description>
+ </information>
+ <security>
+ <all-permissions/>
+ </security>
+ <resources>
+ <j2se version="1.4+" />
+ <jar href="duper.jar"/>
+ <extension name="swt" href="http://dll.nu/nular/swt/swt.jnlp"/>
+ <extension name="md5" href="http://dll.nu/duper/md5.jnlp"/>
+ </resources>
+ <application-desc main-class="nu.dll.duper.GUI"/>
+</jnlp>
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleExecutable</key>
+ <string>duper</string>
+ <key>CFBundleGetInfoString</key>
+ <string>Duper for Mac OS X</string>
+ <key>CFBundleIconFile</key>
+ <string>Duper.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>nu.dll.duper</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Duper</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>?????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
@@ -0,0 +1,7 @@
+#!/bin/sh
+BASEDIR=`dirname $0`
+exec java \
+ -XstartOnFirstThread \
+ -classpath $BASEDIR/swt/swt.jar:$BASEDIR/md5/fast-md5.jar:$BASEDIR \
+ -Djava.library.path=$BASEDIR/swt \
+ nu.dll.duper.GUI
Binary file not shown.
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<title>About</title>
+</head>
+<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 21, 2005</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a href="http://www.eclipse.org/legal/epl-v10.html" target="_blank">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content.</p>
+
+<h3>Third Party Content</h3>
+
+<h4>Carbon Binding</h4>
+
+<p>The &quot;Carbon Binding&quot; is a binding to the Carbon API. The Content may include any or all of three portions of the Carbon Binding:</p>
+
+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Carbon Binding:</p>
+<ul>
+ <li>libswt-pi-carbon-xxxx.jnilib (where &quot;xxxx&quot; is the version number)</li>
+</ul>
+
+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Carbon Binding:</p>
+
+<ul>
+ <li>The contents of the directory org/eclipse/swt/internal/carbon (but not including any sub-directories)</li>
+</ul>
+
+<p>The Carbon Binding contains portions of Apple Computer's Carbon API header files which are:</p>
+
+<blockquote>Copyright &copy; 1983-2002 Apple Computer, Inc.</blockquote>
+
+<p>In addition to the terms and conditions of the EPL, the following notice applies to your use of the Carbon Binding and must be retained and reproduced in its entirety with all redistributions of the
+Carbon Binding:</p>
+
+<blockquote>
+Copyright &copy; 2004 Apple Computer, Inc.<br>
+This text and the following notice must be retained and reproduced in their entirety with all redistributions of this project:<br>
+<strong>IMPORTANT NOTICE</strong>: This project, which consists of certain Java bindings, includes or otherwise makes references to application programming interfaces
+(APIs) that are owned by Apple Computer, Inc., including but not limited to certain Apple Carbon APIs. While you may use, copy, modify and redistribute
+this Java bindings project in accordance with the terms of the Eclipse Public License (EPL) version 1.0, you are not granted any rights under any Apple or
+third party intellectual property rights (including without limitation, patent, copyright, trademark and trade secret rights) to Apple's Carbon API header files
+themselves, nor to any underlying implementations of any Apple Carbon APIs or to any functionality that is invoked by calling any of those APIs. Without
+limiting the generality of the foregoing, you understand that it is not Apple's intention by way of this project to authorize the reverse engineering of the Java
+bindings into Apple's original Carbon.h header files.
+</blockquote>
+
+</body>
+</html>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<jnlp
+ spec="1.0+"
+ codebase="http://dll.nu/duper/"
+ href="md5.jnlp">
+ <information>
+ <title>MD5</title>
+ <vendor>Timothy W Macinta</vendor>
+ <homepage href="http://www.twmacinta.com/myjava/fast_md5.php"/>
+ <description>Java Web Start package by Rasmus Sten</description>
+ </information>
+ <security>
+ <all-permissions/>
+ </security>
+ <resources>
+ <jar href="md5.jar"/>
+ </resources>
+ <component-desc/>
+</jnlp>
Oops, something went wrong.

0 comments on commit 46af20a

Please sign in to comment.