Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Jun 13, 2018
1 parent b2653e0 commit 74443ec
Show file tree
Hide file tree
Showing 13 changed files with 138 additions and 3 deletions.
3 changes: 3 additions & 0 deletions build-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ load("build.js")
cd("../mail")
load("build.js")

cd("../calendar")
load("build.js")

cd("../notepad")
load("build.js")

Expand Down
4 changes: 3 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<target name="src">
<tar destfile="../${ant.project.name}-src.tar.gz" compression="gzip">
<tarfileset prefix="linoleum" dir="." includes="application/**,bin/**,html/**,local/**,mail/**,notepad/**,pkg/**,src/**,*.js,build.properties,*.xml,manifest.mf,*.txt,Makefile" excludes="**/build/**,**/dist/**,**/private/**"/>
<tarfileset prefix="linoleum" dir="." includes="application/**,bin/**,html/**,local/**,mail/**,calendar/**,notepad/**,pkg/**,src/**,*.js,build.properties,*.xml,manifest.mf,*.txt,Makefile" excludes="**/build/**,**/dist/**,**/private/**"/>
</tar>
</target>

Expand Down Expand Up @@ -71,12 +71,14 @@
<exclude name="lib/commons-codec-1.10.jar"/>
<exclude name="lib/ivy-2.4.0.jar"/>
<exclude name="lib/javax.mail-1.5.6.jar"/>
<exclude name="lib/jcalendar-1.4.jar"/>
<exclude name="linoleum.desktop"/>
<exclude name="readme.txt"/>
</tarfileset>
<link name="/usr/share/${ant.project.name}/lib/ivy.jar" target="../../java/ivy.jar"/>
<link name="/usr/share/${ant.project.name}/lib/commons-codec.jar" target="../../java/commons-codec.jar"/>
<link name="/usr/share/${ant.project.name}/lib/javax.mail.jar" target="../../java/javax.mail.jar"/>
<link name="/usr/share/${ant.project.name}/lib/jcalendar.jar" target="../../java/jcalendar.jar"/>
<link name="/usr/share/${ant.project.name}/lib/activation-1.1.jar" target="../../java/activation-1.1.jar"/>
<tarfileset dir="${dist.dir}/bin" prefix="usr/share/${ant.project.name}/bin" filemode="755">
<exclude name="*.bat"/>
Expand Down
11 changes: 11 additions & 0 deletions calendar/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mkdir("build");
mkdir("build/classes");

javac("src", "build/classes");
copy("res", "build/classes");

mkdir("dist");
var name = "calendar";
jar("dist/" + name + ".jar", "build/classes");

publish("dist")
5 changes: 5 additions & 0 deletions calendar/install.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var organization = "net.java.linoleum";
var module = "calendar";
var version = "1.6";

install(organization + "#" + module + ";" + version, "default", new File(getHome(), "lib"));
16 changes: 16 additions & 0 deletions calendar/ivy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
<info module="calendar" organisation="net.java.linoleum" revision="1.6"/>
<configurations>
<conf name="default" extends="runtime,master"/>
<conf name="master"/>
<conf name="compile"/>
<conf name="runtime"/>
<conf name="compile-test"/>
<conf name="runtime-test"/>
</configurations>
<dependencies>
<dependency org="net.java.linoleum" name="application" rev="1.6" conf="compile->master;runtime->default"/>
<dependency org="com.toedter" name="jcalendar" rev="1.4" conf="compile->master;runtime->default"/>
</dependencies>
</ivy-module>
1 change: 1 addition & 0 deletions calendar/res/META-INF/services/javax.swing.JInternalFrame
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
linoleum.calendar.Calendar
Binary file added calendar/res/linoleum/calendar/JCalendarColor24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions calendar/src/linoleum/calendar/Calendar.form
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JInternalFrameFormInfo">
<Properties>
<Property name="closable" type="boolean" value="true"/>
<Property name="iconifiable" type="boolean" value="true"/>
<Property name="title" type="java.lang.String" value="Calendar"/>
<Property name="frameIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/toedter/calendar/images/JCalendarColor16.gif"/>
</Property>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
</AuxValues>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jCalendar1" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jCalendar1" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="com.toedter.calendar.JCalendar" name="jCalendar1">
<Properties>
<Property name="decorationBordersVisible" type="boolean" value="true"/>
<Property name="todayButtonVisible" type="boolean" value="true"/>
</Properties>
</Component>
</SubComponents>
</Form>
46 changes: 46 additions & 0 deletions calendar/src/linoleum/calendar/Calendar.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package linoleum.calendar;

import javax.swing.ImageIcon;
import linoleum.application.Frame;

public class Calendar extends Frame {

public Calendar() {
initComponents();
setDescription("calendar");
setIcon(new ImageIcon(getClass().getResource("JCalendarColor24.png")));
}

@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

jCalendar1 = new com.toedter.calendar.JCalendar();

setClosable(true);
setIconifiable(true);
setTitle("Calendar");
setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/com/toedter/calendar/images/JCalendarColor16.gif"))); // NOI18N

jCalendar1.setDecorationBordersVisible(true);
jCalendar1.setTodayButtonVisible(true);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jCalendar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jCalendar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);

pack();
}// </editor-fold>//GEN-END:initComponents


// Variables declaration - do not modify//GEN-BEGIN:variables
private com.toedter.calendar.JCalendar jCalendar1;
// End of variables declaration//GEN-END:variables
}
3 changes: 3 additions & 0 deletions clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ clean("build/classes")
cd("../mail")
clean("build/classes")

cd("../calendar")
clean("build/classes")

cd("../notepad")
clean("build/classes")

Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Vcs-Browser: https://salsa.debian.org/pkg-java/linoleum

Package: linoleum
Architecture: all
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java, ${misc:Depends}
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java, libjcalendar-java, ${misc:Depends}
Description: Java desktop environment and software distribution
This projects allows you to do your daily work from inside the JVM - just like
Java is your operating system. Your usual Linux workflow is preserved, with
Expand Down
1 change: 1 addition & 0 deletions ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</configurations>
<dependencies>
<dependency org="net.java.linoleum" name="application" rev="1.6" conf="compile->master"/>
<dependency org="net.java.linoleum" name="calendar" rev="1.6" conf="runtime->default"/>
<dependency org="net.java.linoleum" name="notepad" rev="1.6" conf="runtime->default"/>
<dependency org="net.java.linoleum" name="html" rev="1.6" conf="runtime->default"/>
<dependency org="net.java.linoleum" name="mail" rev="1.6" conf="runtime->default"/>
Expand Down
2 changes: 1 addition & 1 deletion local/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version: 1.6-1
Section: java
Priority: optional
Architecture: all
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java, libjcalendar-java
Maintainer: Raphael Jolly <[email protected]>
Homepage: http://linoleum.java.net/
Description: Java desktop environment and software distribution
Expand Down

0 comments on commit 74443ec

Please sign in to comment.