diff --git a/dev-java/skinlf/files/skinlf-1.2.12-build.xml b/dev-java/skinlf/files/skinlf-1.2.12-build.xml deleted file mode 100644 index 83dd73ea90551..0000000000000 --- a/dev-java/skinlf/files/skinlf-1.2.12-build.xml +++ /dev/null @@ -1,299 +0,0 @@ - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - &build-COMMON; - &build-COMMONDEVJAVANET; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/dev-java/skinlf/files/skinlf-1.2.12-common-devjavanet.xml b/dev-java/skinlf/files/skinlf-1.2.12-common-devjavanet.xml deleted file mode 100644 index da7cdcf835ccc..0000000000000 --- a/dev-java/skinlf/files/skinlf-1.2.12-common-devjavanet.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/skinlf/files/skinlf-1.2.12-common.xml b/dev-java/skinlf/files/skinlf-1.2.12-common.xml deleted file mode 100644 index c2803acc5bab1..0000000000000 --- a/dev-java/skinlf/files/skinlf-1.2.12-common.xml +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/skinlf/files/skinlf-1.2.12-image-utils-without-jimi.patch b/dev-java/skinlf/files/skinlf-1.2.12-image-utils-without-jimi.patch deleted file mode 100644 index 02670136667da..0000000000000 --- a/dev-java/skinlf/files/skinlf-1.2.12-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 ---- skinlf-1.2.12-orig/src/com/l2fprod/tools/ImageUtils.java 2006-01-24 20:09:36.000000000 +0100 -+++ skinlf-1.2.12/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); diff --git a/dev-java/skinlf/files/skinlf-1.2.12-image-utils.patch b/dev-java/skinlf/files/skinlf-1.2.12-image-utils.patch deleted file mode 100644 index f6d695f2894bb..0000000000000 --- a/dev-java/skinlf/files/skinlf-1.2.12-image-utils.patch +++ /dev/null @@ -1,38 +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 ---- skinlf-1.2.12-orig/src/com/l2fprod/tools/ImageUtils.java 2006-01-22 13:14:39.000000000 +0100 -+++ skinlf-1.2.12/src/com/l2fprod/tools/ImageUtils.java 2006-01-22 13:19:13.000000000 +0100 -@@ -6,15 +6,12 @@ - - import javax.swing.ImageIcon; - --import com.ibm.imageconversion.*; - import com.sun.jimi.core.*; - - 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()); -@@ -30,17 +27,7 @@ - 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) {