debian/0000755000000000000000000000000011662303157007172 5ustar debian/rules0000755000000000000000000000020511662303157010247 0ustar #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java %: dh --with javahelper $@ override_jh_depends: jh_depends -jopen debian/watch0000644000000000000000000000033011662303157010217 0ustar version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ http://sf.net/weirdx/weirdx-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/changelog0000644000000000000000000000261411662303157011047 0ustar weirdx (1.0.32-6) unstable; urgency=low * Team upload. [ Matthew Johnson ] * move to team repo and maintenance [ Damien Raude-Morvan ] * Use default-jdk to build (Closes: #640631). * Switch to 3.0 (quilt) source format. * Bump Standards-Version to 3.9.2: set Section to java. -- Damien Raude-Morvan Sun, 20 Nov 2011 23:59:26 +0100 weirdx (1.0.32-5) unstable; urgency=low * Revert gjdoc depends and use javahelper not dh_javadoc -- Matthew Johnson Sat, 12 Dec 2009 20:49:49 +0000 weirdx (1.0.32-4) unstable; urgency=low * Add depends on gjdoc for dh_javadoc (Closes: #540615) -- Matthew Johnson Sun, 09 Aug 2009 15:46:15 +0100 weirdx (1.0.32-3) unstable; urgency=low * Convert to dh 7 and quilt * Change from sun to openjdk and move to main (Closes: #540445) -- Matthew Johnson Sat, 08 Aug 2009 13:50:45 +0100 weirdx (1.0.32-2) unstable; urgency=low * Add watch file -- Matthew Johnson Tue, 19 Feb 2008 15:52:48 +0000 weirdx (1.0.32-1) unstable; urgency=low * Initial release. (Closes: #461906) * Add patch to allow starting X from a library call * Many apps fail under gcj, restricting to sun (and hence contrib) for now * Add the rest of the copyright statements to debian/copyright -- Matthew Johnson Mon, 11 Feb 2008 14:37:08 +0000 debian/weirdx.javadoc0000644000000000000000000000001111662303157012015 0ustar internal debian/compat0000644000000000000000000000000211662303157010370 0ustar 7 debian/source/0000755000000000000000000000000011662303157010472 5ustar debian/source/format0000644000000000000000000000001411662303157011700 0ustar 3.0 (quilt) debian/weirdx.jlibs0000644000000000000000000000001311662303157011513 0ustar weirdx.jar debian/patches/0000755000000000000000000000000011662303157010621 5ustar debian/patches/series0000644000000000000000000000001211662303157012027 0ustar 01library debian/patches/01library0000644000000000000000000002345611662303157012363 0ustar diff -urN weirdx-1.0.32.orig/com/jcraft/weirdx/WeirdX.java weirdx-1.0.32/com/jcraft/weirdx/WeirdX.java --- weirdx-1.0.32.orig/com/jcraft/weirdx/WeirdX.java 2004-04-13 22:51:55.000000000 +0100 +++ weirdx-1.0.32/com/jcraft/weirdx/WeirdX.java 2008-01-17 14:09:48.612612851 +0000 @@ -658,6 +658,312 @@ (new Spawn(this)).start(); } + public void loadProperties(Properties props) + { + String s; + try{ + try{ + s=(String)props.get("weirdx.ddxwindow"); + if(s!=null){ Window.installDDXWindow(s); } + } + catch(Exception ee){ + System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.width"); + if(s!=null){ width=Short.parseShort(s); } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ s=(String)props.get("weirdx.display.height"); + if(s!=null){ height=Short.parseShort(s); } + } + catch(Exception ee){ + //System.err.println(ee); + } + + /* support for autodetect of screen size */ + try{ + s=(String)props.get("weirdx.display.autosize"); + if(s!=null){ + if (Boolean.valueOf(s).booleanValue()) { + /* auto-calculate screen size */ + + Toolkit toolkit = Toolkit.getDefaultToolkit(); + Dimension ScrSize= toolkit.getScreenSize(); + int widthreduce=20; + int heightreduce=60; + + try{ + s=(String)props.get("weirdx.display.autosize.widthreduce"); + if(s!=null){ widthreduce=Short.parseShort(s); } + } + catch(Exception ee){ } + + try{ + s=(String)props.get("weirdx.display.autosize.heightreduce"); + if(s!=null){ heightreduce=Short.parseShort(s); } + } + catch(Exception ee){ } + + width=(short)(ScrSize.width-widthreduce); + height=(short)(ScrSize.height-heightreduce); + } + } + } + catch(Exception ee){ + System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.visual"); + if(s!=null){ visuals=s; } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.windowmode"); + if(s!=null){ + weirdx.mode=s; + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.myaddress"); + if(s!=null){ myAddress=s; } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.displaynum"); + if(s!=null){ weirdx.displaynum=Integer.parseInt(s);} + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.acl"); + if(s!=null){ Acl.parse(s); } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.threebutton"); + if(s.equals("yes")){ threeButton=true;} + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.copypaste"); + if(s.equals("yes")){ copypaste=true;} + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.keymap"); + if(s!=null){ keymap=s; } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.charset"); + if(s!=null&&s.length()>0){ charset=s; } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.xdmcp.mode"); + if(s!=null){ + String ss=(String)props.get("weirdx.xdmcp.address"); + if(s.equals("query")){ + xdmcp=new XDMCP(ss, myAddress, weirdx.displaynum); + } + else if(s.equals("broadcast")){ + xdmcp=new XDMCP(XDMCP.BroadcastQuery, ss, myAddress, weirdx.displaynum); + } + else if(s.equals("indirect")){ + xdmcp=new XDMCP(XDMCP.IndirectQuery, ss, myAddress, weirdx.displaynum); + } + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.xrexec"); + if(s.equals("yes")){ + xrexec=new XRexec(myAddress, weirdx.displaynum); + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.sshrexec"); + ssshrexec=s; + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.jesd"); + if(s!=null && s.equals("yes")){ + jesd=s; + } + } + catch(Exception ee){} + + try{ + s=(String)props.get("weirdx.jdxpc"); + if(s!=null && s.length()!=0 && !s.equals("no")){ + jdxpc=s; + } + } + catch(Exception ee){} + + try{ + s=(String)props.get("weirdx.jdxpcport"); + if(s!=null){ jdxpcport=Integer.parseInt(s);} + } + catch(Exception ee){} + + try{ + s=(String)props.get("weirdx.jdxpc.socket"); + if(s!=null){ jdxpcsocket=s;} + } + catch(Exception ee){} + + try{ + s=(String)props.get("weirdx.jdxpc.serverproxy"); + if(s!=null){ jdxpcserverproxy=s;} + } + catch(Exception ee){} + + try{ + s=(String)props.get("weirdx.extension"); + if(s!=null){ + weirdx.extension=s; + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.display.background.alpha"); + if(s!=null){ alphaBackground=s;} + } + catch(Exception ee){ + //System.err.println(ee); + } + +/* + try{ + s=(String)props.get("weirdx.display.background.alpha"); + if(s!=null){ + try{ +// int balpha=Integer.parseInt(s); +// balpha&=0xff; +// if(balpha!=255){ + String ss=(String)props.get("weirdx.display.background.alpha.class"); + if(ss!=null && + ss.equals("com.jcraft.weirdx.DDXWindowAlphaBackground2D")){ + int balpha=Integer.parseInt(s); + balpha&=0xff; + if(balpha!=255){ + Window.dDXWindow=DDXWindowAlphaBackground2D.class; + DDXWindowAlphaBackground2D.setAlpha(balpha); + } + } + else{ + Window.dDXWindow=DDXWindowAlphaBackground.class; + DDXWindowAlphaBackground.setAlpha(s); + } +// } + } + catch(Exception ee){System.err.println(ee);} + } + } + catch(Exception ee){ + //System.err.println(ee); + } +*/ + + try{ + s=(String)props.get("weirdx.logo"); + if(s!=null){ + weirdx.logo=s; + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + try{ + s=(String)props.get("weirdx.displaysocket"); + if(s!=null){ + try{ + displaySocketClass=Class.forName(s); + if(!s.equals("com.jcraft.weirdx.DisplaySocket6k")) + System.out.println(s+" is used for DisplaySocket"); + } + catch(Exception e){ + displaySocketClass=com.jcraft.weirdx.DisplaySocket6k.class; + } + } + } + catch(Exception ee){ + //System.err.println(ee); + } + + } + catch(Exception e){} + + + } + public void spawn() + { + this.weirdx=this; + Container container=new Frame("WeirdX"); + + ((Frame)container).addWindowListener( + new WindowAdapter() { + public void windowClosed(WindowEvent e){ } + public void windowClosing(WindowEvent e){ + ((Frame)e.getWindow()).dispose(); + } + } + ); + + try{ weirdx.weirdx_start(container); } + catch(Exception e){ + } + } + public static void main(String args[]) { String s; WeirdX weirdx=new WeirdX(); debian/weirdx.manifest0000644000000000000000000000015611662303157012226 0ustar usr/share/java/weirdx.jar: Main-Class: com.jcraft.weirdx.WeirdX Debian-Java-Home: /usr/lib/jvm/default-java debian/control0000644000000000000000000000150311662303157010574 0ustar Source: weirdx Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Matthew Johnson Build-Depends: debhelper (>> 7), javahelper (>= 0.25) Build-Depends-Indep: default-jdk Standards-Version: 3.9.2 Homepage: http://www.jcraft.com/weirdx/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/weirdx.git Vcs-Git: git://anonscm.debian.org/pkg-java/weirdx.git Package: weirdx Architecture: all Depends: ${java:Depends}, ${misc:Depends} Suggests: libjsch-java, libesd-java Description: X server in Java A complete X server implementation in Java which can run standalone or as an applet. It supports remote X and (using libjsch-java) X forwarded over SSH. . Also includes a library for embedding WeirdX in other Java programs or Applets. debian/javabuild0000644000000000000000000000001711662303157011054 0ustar weirdx.jar com debian/copyright0000644000000000000000000001062711662303157011133 0ustar This package was Debianised by Matthew Johnson on Tue Jan 15 14:19:15 GMT 2008 This package was downloaded from http://prdownloads.sourceforge.net/weirdx/weirdx-1.0.32.tar.gz?download. Upstream Author: JCraft Inc Unless otherwise stated the code is Copyright (C) 1998--2004 JCraft Inc and released under the following licence: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. The files com/jcraft/weirdx/DDXWindow* are Copyright (C) 2000 Marcus Schiesser and JCraft Inc and are distributed under the above licence. The files under misc/keymap are Copyright (C) 2000 Marcus Schiesser, ymnk GPL and are distributed under the above licence. The files under misc/msockets and com/jcraft/weirdx/Keymap_de.java are Copyright (C) 2000 by Marcus Schiesser and are distributed under the above licence. The file com/jcraft/weirdx/XJSExtension.java) is Copyright (C) 2000 Christian Werner and is distributed under the above licence. The files under com/jcraft/util/ comprise JRexec 1.0 which can be found separately at http://www.jcraft.com/jrexec/. They are Copyright (C) 1998 JCraft Inc. and are distributed under the following licence: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. The files under misc/xjs/ are Copyright (c) 2000 nd are distributed under the following licence: /************************************************************ Copyright (c) 2000 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. ********************************************************/ On Debian systems the GPL licence can be found in /usr/share/common-licenses/GPL and the LGPL licence can be found in /usr/share/common-licenses/LGPL The packaging is Copyright 2008 Matthew Johnson and is licenced under the terms of the BSD licence. On Debian systems the BSD licence can be found in /usr/share/common-licenses/BSD. debian/weirdx.links0000644000000000000000000000005111662303157011532 0ustar usr/share/java/weirdx.jar usr/bin/weirdx