Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=afb956a3a39bb2de4870cf861d4034e5628cf229

commit afb956a3a39bb2de4870cf861d4034e5628cf229
Author: Marius Cirsta <[email protected]>
Date:   Sun Jul 8 15:53:54 2012 +0000

skinlf-6.7-1-x86_64

* no longer needed lib and no longer maintained upstream

diff --git a/source/xlib-extra/skinlf/FrugalBuild 
b/source/xlib-extra/skinlf/FrugalBuild
deleted file mode 100644
index ac642f2..0000000
--- a/source/xlib-extra/skinlf/FrugalBuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Compiling Time: 0.15 SBU
-# Maintainer: voroskoi <[email protected]>
-
-pkgname=skinlf
-pkgver=6.7
-pkgrel=1
-pkgdesc="Skin Look And Feel allows Java developers to write skinnable 
application using the Swing toolkit."
-url="http://www.l2fprod.com/skinlf/index.html";
-Finclude java
-depends=(${depends[@]} 'laf-plugin' 'xalan-j')
-groups=('xlib-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump http://www.l2fprod.com/skinlf/download/index.php |grep zip 
|sed -ne 's/.*lf-\(.*\)-.*/\1/;1p'"
-source=(https://skinlf.dev.java.net/files/documents/66/37801/skinlf-6.7-20060722.zip
 \
-       build.xml skinlf-6.7-image-utils-without-jimi.patch)
-sha1sums=('9fa7a68e9d2480d120146dea60e2df74d6f1c170' \
-          '73c9d238f0835123b06890c334fdad78b4cd21a0' \
-          'dac738bae475d76b2cb6c53dd530313337c8cbbd')
-
-build() {
-       Fcd
-       Fpatchall
-       cp ../build.xml build.xml || Fdie
-       Fmake
-       Fjar dist/${pkgname}.jar
-}
diff --git a/source/xlib-extra/skinlf/build.xml 
b/source/xlib-extra/skinlf/build.xml
deleted file mode 100644
index 9a13527..0000000
--- a/source/xlib-extra/skinlf/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project name="skinlf" default="dist" basedir=".">
-       <description>
-               Simple build
-       </description>
-
-       <property name="src" location="./src"/>
-       <property name="build" location="./build"/>
-       <property name="dist" location="./dist"/>
-       <property name="api" location="api"/>
-
-       <target name="init">
-               <tstamp/>
-               <mkdir dir="${build}"/>
-               <mkdir dir="${api}"/>
-       </target>
-
-       <target name="javadoc" depends="init" description="Produce JavaDoc">
-               <javadoc sourcepath="${src}" destdir="${api}"/>
-       </target>
-
-       <target name="compile" depends="init" description="compile the source">
-               <javac srcdir="${src}" destdir="${build}">
-               <include name="**/*.java"/>
-               </javac>
-       </target>
-
-       <target name="dist" depends="compile" description="compilation">
-
-               <copy todir="build">
-                       <fileset dir="src">
-                               <exclude name="**/*.java"/>
-                       </fileset>
-               </copy>
-               <mkdir dir="${dist}"/>
-               <jar jarfile="${dist}/skinlf.jar" basedir="${build}"/>
-       </target>
-
-       <target name="clean" description="Clean up">
-               <delete dir="${build}"/>
-               <delete dir="${dist}"/>
-               <delete file="./*.jar"/>
-       </target>
-</project>
diff --git a/source/xlib-extra/skinlf/skinlf-6.7-image-utils-without-jimi.patch 
b/source/xlib-extra/skinlf/skinlf-6.7-image-utils-without-jimi.patch
deleted file mode 100644
index 3e797bf..0000000
--- a/source/xlib-extra/skinlf/skinlf-6.7-image-utils-without-jimi.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -ru skinlf-1.2.12-orig/src/com/l2fprod/tools/ImageUtils.java 
skinlf-1.2.12/src/com/l2fprod/tools/ImageUtils.java
---- src/com/l2fprod/tools/ImageUtils.java      2006-01-24 20:09:36.000000000 
+0100
-+++ src/com/l2fprod/tools/ImageUtils.java      2006-01-24 20:19:19.000000000 
+0100
-@@ -6,15 +6,12 @@
-
- import javax.swing.ImageIcon;
-
--import com.ibm.imageconversion.*;
--import com.sun.jimi.core.*;
-+import javax.imageio.*;
-
- public class ImageUtils {
-
-   public static Component bitmapCreator = new javax.swing.JLabel();
-
--  static BMPDecoder decoder = new BMPDecoder();
--  static BMPEncoder encoder = new BMPEncoder();
-
-   public static Image loadPng(String pathToImage) throws Exception {
-     ImageIcon icon = new ImageIcon(new File(pathToImage).toURL());
-@@ -22,29 +19,33 @@
-   }
-
-   public static void savePng(Image image, String pathToImage) throws 
Exception {
--    Jimi.putImage(image, pathToImage);
-+    ImageIO.write((RenderedImage)image, "png", new File(pathToImage));
-   }
-
-+  private static String getFileFmt(String pathToImage) throws Exception {
-+    String fmt;
-+    if (pathToImage.toLowerCase().endsWith(".png")) {
-+      return "png";
-+    }
-+    if (pathToImage.toLowerCase().endsWith(".gif")) {
-+      return "gif";
-+    }
-+    if (pathToImage.toLowerCase().endsWith(".bmp")) {
-+      return "bmp";
-+    }
-+    return "";
-+  }
-+
-   public static void createPicture(String pathToImage, int index, int 
maxParts,
-                                    String filename, boolean horizontal) {
-     try {
-       System.out.println("working with " + pathToImage);
-       Image image = null;
--
--      if (pathToImage.toLowerCase().endsWith(".png") ||
--              pathToImage.toLowerCase().endsWith(".gif")) {
--        image = loadPng(pathToImage);
--      } else if (pathToImage.toLowerCase().endsWith(".bmp")) {
--        decoder.setInputFilename(pathToImage);
--        decoder.triggerAction();
--        image = decoder.getResult();
--      } else {
--        throw new Error("do not know how to load " + pathToImage);
--      }
-+      image = Toolkit.getDefaultToolkit().getImage(pathToImage);
-
-       // if only one image, dump it as it
--          if (index == 0 && maxParts == 1) {
--        Jimi.putImage(image, filename);
-+      if (index == 0 && maxParts == 1) {
-+        ImageIO.write((RenderedImage)image, getFileFmt(pathToImage), new 
File(pathToImage));
-       } else {
-         if (horizontal) {
-           int partHeight = image.getHeight(bitmapCreator) / maxParts;
-@@ -55,7 +56,7 @@
-           image = grab(image, partWidth * index, 0,
-                        partWidth, image.getHeight(bitmapCreator));
-         }
--        Jimi.putImage(image, filename);
-+      ImageIO.write((RenderedImage)image, getFileFmt(pathToImage), new 
File(pathToImage));
-       }
-     } catch (Exception e) {
-       System.out.println("error while working with " + pathToImage);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to