Commit 6885fa28 authored by Gurvinder Dadyala's avatar Gurvinder Dadyala

Merge branch 'development' into 'development'

Development Merging Eclipse-Java and Eclipse J2ee Packages into development branch See merge request !8
parents 3036ae48 1e984164
/.project
[Desktop Entry]
Name=Eclipse J2EE IDE
Exec=/usr/bin/eclipse
Icon=/usr/local/eclipse-j2ee/4.4sr1/icon.xpm
Comment=The essential tools for any Java developer, including a Java IDE etc.
Keywords=Code;Editor;Programming;
Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Development;IDE;
MimeType=text/plain;text/x-java-source
eclipse-j2ee (1.0.0) namaste; urgency=low
* First version
-- Hamara Master Signing Key (Master Key) <master@hamaralinux.org> Mon, 19 Jan 2015 17:49:51 +0530
Source: eclipse-j2ee
Section: devel
Priority: optional
Maintainer: Gurvinder Dadyala <gurvinder@techblue.co.uk>
Build-Depends-Indep: debhelper
Standards-Version: 1.0.0
Package: eclipse-j2ee
Architecture: amd64 i386
Priority: optional
Depends: openjdk-7-jdk
Description: Eclipse Luna J2EE IDE.
eclipse-j2ee is incharge of installing Eclipe Luna 4.4 J2EE Edition
and Open JDK 7. Tools for Java developers creating Java EE and Web
applications, including a Java IDE, tools for Java EE, JPA, JSF,
Mylyn etc
.
This package was created by Gurvinder Dadyala <gurvinder@techblue.co.uk>
Copyright (C) 2009 the authors
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, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
#!/bin/sh
set -e
BASE_URL="http://devel.hamaralinux.org/hamara/eclipse/"
FILENAME_X86_64="eclipse-jee-luna-SR1a-linux-gtk-x86_64.tar.gz"
FILENAME_i386="eclipse-jee-luna-SR1a-linux-gtk.tar.gz"
ECLIPSE_TAR="NULL"
HOSTARCH=$(uname -m)
if [ $HOSTARCH = "x86_64" ]; then
URL=$BASE_URL$FILENAME_X86_64
ECLIPSE_TAR=$FILENAME_X86_64
else
URL=$BASE_URL$FILENAME_i386
ECLIPSE_TAR=$FILENAME_i386
fi
echo URL=$URL
rm -rf tmp/eclispe-installer
rm -rf data/usr/local/eclipse-j2ee/4.4sr1/*
mkdir -pv data/usr/local/eclipse-j2ee/4.4sr1
mkdir -pv tmp/eclispe-installer
#cd /tmp/eclispe-installer/
wget -P tmp/eclispe-installer $URL
tar -xvf tmp/eclispe-installer/$ECLIPSE_TAR -C tmp/eclispe-installer
rm -rf data/usr/local/eclipse/4.4sr1/*
echo "Copying Eclipse files, this may take few minutes..."
cp -rv tmp/eclispe-installer/eclipse/* data/usr/local/eclipse-j2ee/4.4sr1/
#!/bin/sh
set -e
echo "Checking if Eclipse directory exist"
if [ -d "/usr/local/eclipse-java/4.4sr1" ]
then
echo "Creating Eclipse alternatives"
update-alternatives --install "/usr/bin/eclipse" "eclipse" "/usr/local/eclipse-j2ee/4.4sr1/eclipse" 10
echo "Eclipse alternative creation done"
fi
#!/bin/sh
set -e
echo "Updating Eclipse Alternative"
update-alternatives --remove "eclipse" "/usr/local/eclipse-j2ee/4.4sr1"
#!/bin/sh
set -e
echo "Checking if Eclipse directory exist"
if [ -d "/usr/local/eclipse-j2ee/4.4sr1" ]
then
mv /usr/local/eclipse-java/4.4sr1 /usr/local/eclipse-j2ee/4.4sr1.old
echo "Eclipse old directory renamed to 4.4sr1.old"
fi
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
debian/dl-script
override_dh_install:
dh_install data/* /
override_dh_usrlocal:
[Desktop Entry]
Name=Eclipse Java IDE
Exec=/usr/bin/eclipse
Icon=/usr/local/eclipse-java/4.4sr1/icon.xpm
Comment=The essential tools for any Java developer, including a Java IDE etc.
Keywords=Code;Editor;Programming;
Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Development;IDE;
MimeType=text/plain;text/x-java-source
eclipse-java (1.0.0) namaste; urgency=low
* First version
-- Hamara Master Signing Key (Master Key) <master@hamaralinux.org> Tue, 24 Feb 2014 05:17:20 +0100
Source: eclipse-java
Section: devel
Priority: optional
Maintainer: Gurvinder Dadyala <gurvinder@techblue.co.uk>
Build-Depends-Indep: debhelper
Standards-Version: 1.0.0
Package: eclipse-java
Architecture: amd64 i386
Priority: optional
Depends: openjdk-7-jdk
Description: Eclipse Luna Java IDE.
eclipse-java is incharge of installing Eclipe Luna 4.4 Java Edition.
Eclipse is an essential tool for any Java developer, including a Java IDE,
a CVS client, Git client, XML Editor, Mylyn, Maven integration etc.
.
This package was created by Rubén Rodríguez <ruben@trisquel.info>
Copyright (C) 2009 the authors
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, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
#!/bin/sh
set -e
BASE_URL="http://devel.hamaralinux.org/hamara/eclipse/"
FILENAME_X86_64="eclipse-java-luna-SR1a-linux-gtk-x86_64.tar.gz"
FILENAME_i386="eclipse-java-luna-SR1a-linux-gtk.tar.gz"
ECLIPSE_TAR="NULL"
HOSTARCH=$(uname -m)
if [ $HOSTARCH = "x86_64" ]; then
URL=$BASE_URL$FILENAME_X86_64
ECLIPSE_TAR=$FILENAME_X86_64
else
URL=$BASE_URL$FILENAME_i386
ECLIPSE_TAR=$FILENAME_i386
fi
echo URL=$URL
rm -rf tmp/eclispe-installer
rm -rf data/usr/local/eclipse-java/4.4sr1/*
mkdir -pv data/usr/local/eclipse-java/4.4sr1
mkdir -pv tmp/eclispe-installer
#cd /tmp/eclispe-installer/
wget -P tmp/eclispe-installer $URL
tar -xvf tmp/eclispe-installer/$ECLIPSE_TAR -C tmp/eclispe-installer
rm -rf data/usr/local/eclipse/4.4sr1/*
echo "Copying Eclipse files, this may take few minutes..."
cp -rv tmp/eclispe-installer/eclipse/* data/usr/local/eclipse-java/4.4sr1/
#!/bin/sh
set -e
echo "Checking if Eclipse directory exist"
if [ -d "/usr/local/eclipse-java/4.4sr1" ]
then
echo "Creating Eclipse alternatives"
update-alternatives --install "/usr/bin/eclipse" "eclipse" "/usr/local/eclipse-java/4.4sr1/eclipse" 10
echo "Eclipse alternative creation done"
fi
#!/bin/sh
set -e
echo "Updating Eclipse Alternative"
update-alternatives --remove "eclipse" "/usr/local/eclipse-java/4.4sr1"
#!/bin/sh
set -e
echo "Checking if Eclipse directory exist"
if [ -d "/usr/local/eclipse-java/4.4sr1" ]
then
mv /usr/local/eclipse-java/4.4sr1 /usr/local/eclipse-java/4.4sr1.old
echo "Eclipse old directory renamed to 4.4sr1.old"
fi
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
debian/dl-script
override_dh_install:
dh_install data/* /
override_dh_usrlocal:
#!/bin/sh
dpkg-buildpackage -kB98B089B -tc
dpkg-buildpackage -us -uc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment