diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-geosciences/bt747 |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-geosciences/bt747')
-rw-r--r-- | sci-geosciences/bt747/Manifest | 8 | ||||
-rw-r--r-- | sci-geosciences/bt747/bt747-2.1.7-r1.ebuild | 70 | ||||
-rw-r--r-- | sci-geosciences/bt747/bt747-2.1.7-r2.ebuild | 70 | ||||
-rw-r--r-- | sci-geosciences/bt747/files/jchart2d-3.2.patch | 15 | ||||
-rw-r--r-- | sci-geosciences/bt747/metadata.xml | 21 |
5 files changed, 184 insertions, 0 deletions
diff --git a/sci-geosciences/bt747/Manifest b/sci-geosciences/bt747/Manifest new file mode 100644 index 000000000000..80481f1ed822 --- /dev/null +++ b/sci-geosciences/bt747/Manifest @@ -0,0 +1,8 @@ +AUX jchart2d-3.2.patch 563 SHA256 65b1a1c05e2134bb07613cc2d14681ee56656aa76351e5e85e9fda143b64d274 SHA512 54a95203b7566819e27cae7a0d6ee0a9542817e3b172cfbaf384042c54d1340301114f15b1bcb337ffe7b03a53927cb92be897ef95ede1a4d422d54b00a10419 WHIRLPOOL 7da6cad0a4777cfe668fd54c5fb9fae42aaf9ab8b1df8e8904de34c513c3a14c8e5ad3e97825db20fce3e9220d9db9d28cebd79a9c6fce35e160ec63f0f8fbad +DIST BT747_2.1.7_full.zip 9649645 SHA256 d8a9c3920a6b5de75cac41da74e3fa49f134104ea9293504386ebc7a81fc91df SHA512 362533ccbf6b9252d6d7e09497a75038b0776e76a2c2f73f05e2abc0c521d0a640d0ae9e7d5d40da1d14850838a2924f17622d91535e90b900a5ae97b66f6b3d WHIRLPOOL 02b1eb02d9eaea592643240de605ecf231856a47276fc7b450cfd052455c621e3329c34bd27cf3260304437ab340a9c1f51661a4f20e827d0904b23a65de7bf6 +DIST bt747.gif 5903 SHA256 6e2aa20d9fcdf44b8ac779f0a12a87480cd6f3f1b47127b250bac978c1d42149 SHA512 55c3bbc9ec5fe12261b2604980c7b5d4416afa3ec73f7834c62d3ebbdf4580b247c1feb2ac112f876e7110a8aabe652da39d2181f01661435ba465671a631252 WHIRLPOOL 15413f4fcfb23051f770c91c9a73bc5a41dc1268b3a985c4d3e33e4dbd36d6aee510c7fdcdf8b26dac296226c175fa6cb927c9f6e8537ab1cf8616f37c2da552 +EBUILD bt747-2.1.7-r1.ebuild 1684 SHA256 5ac42abcd4789e2a79a0f69863d0ab71454e990a0263ae72c85046125743c4aa SHA512 5b37ecd247226cbcc21f6f6af537cd53c5f88f1ae6e216c48f25a455731d2d180b99529693c54d6f0ed5628fec9ec28957b823acd1fe7bce499d313bba6de93b WHIRLPOOL 6365cb31193f84013340c4c5daeb9029372679cb97d256994944ae8b4d654c9d67a01bfe609e21e51a6030ae873fb71561fdbe5df8030cf6c460af5a2281e750 +EBUILD bt747-2.1.7-r2.ebuild 1679 SHA256 91d3fd71b449df7d8992a3c936162cf0f03763efe3ccb56d996564fe12f96629 SHA512 8e5aa145e1201b8898cdafac3f3c7df76c50a629ef684966df39a3e66fc73325f2971a204578cd4cc6982c5df76cb49721ef7d3e5c7507a2c14740a42e9b258b WHIRLPOOL 22194e28585d88815a5632f37b7869afd59885022379fabe4128962de8487441ddcdbbcb764a74586ebbd752a9072d94f66c405cf4795bb7ed27123bbacea9b2 +MISC ChangeLog 3856 SHA256 23559b4e83b7eac03c2230f290bb8cbd56344a6cca0fcd276f41ec092cec8cc9 SHA512 1fb84feb0bf43a7f3dc3c29d60e3aa10430a3088f8b5cb92005064fda114c295ec02723a36c842737e56250e73f87055c198721b5c18ae82cb5dc6d7a648bd49 WHIRLPOOL c37883af6b0879a08966975be2d67a6d3209934cd79d4f8e267cd087824a97c405d9579fc7a49a90f6c8ee634fb473565650d2980cf2cdb1929cb30bfe9665fa +MISC ChangeLog-2015 1270 SHA256 2f67c352c0ad153400dee7ce6f5f3ce879371e98e4956fae52d1f6e29abf881a SHA512 03e89cc0d386c064d2076901f1d756fb7b17ae89c1e310fb577d118292f241f43b0eb7ce6a443e9378f4af61cb55748263c86f4c58812850e45bd2f94337e7bd WHIRLPOOL 4c41dfbf4e38cc1ab727413417838086dc5ff5bd48fa8248d57f3a5be884ce7a0e4322500c01d4b72fa8be58480571d993c6206e7c371bee721ad37cb684e53c +MISC metadata.xml 936 SHA256 6af13272ab1fb9b12d4f6c03d731c22ee47ce9a9484a8c12fcd4ab74aa029986 SHA512 2728dc332da587012500de41eecd145f1f9dbbd197612b284be02d7334f67e877fdce8f973e9b3331a03d39653c35f3409dbf3c85a4371c0edb497d0922d2938 WHIRLPOOL 59f21a496a1adabd23805839f046f6b212ac7cebb3bc77c9f5f80474eb98644f77076fb29d45d436e24690bb5123ecc2dc5c39f0cb171f9122da89ffebba57bb diff --git a/sci-geosciences/bt747/bt747-2.1.7-r1.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r1.ebuild new file mode 100644 index 000000000000..94c6f870e372 --- /dev/null +++ b/sci-geosciences/bt747/bt747-2.1.7-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="MTK GPS Datalogger Device Control" +HOMEPAGE="http://www.bt747.org" +SRC_URI="mirror://sourceforge/${PN}/Stable/BT747_${PV}_full.zip + http://www.bt747.org/icon/bt747_128x128.gif -> ${PN}.gif" + +LICENSE="GPL-3" +SLOT="1" +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-java/commons-imaging:0 + dev-java/jcalendar:1.2 + dev-java/jchart2d:0 + dev-java/jopt-simple:0 + >=dev-java/rxtx-2.2_pre2:2 + dev-java/swing-layout:1 + dev-java/swingx:1.6 + dev-java/swingx-ws:bt747 +" + +RDEPEND=" + ${CDEPEND} + dev-libs/glib:2[dbus] + >=virtual/jre-1.7 +" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.7 + app-arch/unzip +" + +EANT_BUILD_TARGET="dist.j2se" +EANT_EXTRA_ARGS="-Dskip.proguard=yes -Dsvn=true -Dsvnversion=true -Dbuild.current.revision=Gentoo" +EANT_GENTOO_CLASSPATH="commons-imaging,jcalendar-1.2,jchart2d,jopt-simple-4.4,rxtx-2,swing-layout-1,swingx-1.6,swingx-ws-bt747" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +S="${WORKDIR}" + +java_prepare() { + # Fix for newer jchart2d. + epatch "${FILESDIR}/jchart2d-3.2.patch" + + # Remove all the bundled stuff. + rm -rv dist/ lib/ || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + src_j2se/net/sf/bt747/j2se/app/list/FileListCellRenderer.java || die + + eapply_user +} + +src_install() { + dodoc {ChangeLog,README}.txt + + java-pkg_dojar dist/*.jar + java-pkg_dolauncher ${PN} --main bt747.j2se_view.BT747Main \ + --java-args="-Xmx192m" + + doicon "${DISTDIR}/${PN}.gif" + make_desktop_entry ${PN} BT747 bt747.gif +} diff --git a/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild new file mode 100644 index 000000000000..17c7ae799eb6 --- /dev/null +++ b/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="MTK GPS Datalogger Device Control" +HOMEPAGE="http://www.bt747.org" +SRC_URI="mirror://sourceforge/${PN}/Stable/BT747_${PV}_full.zip + http://www.bt747.org/icon/bt747_128x128.gif -> ${PN}.gif" + +LICENSE="GPL-3" +SLOT="1" +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-java/commons-imaging:0 + dev-java/jcalendar:1.2 + dev-java/jchart2d:0 + dev-java/jopt-simple:0 + >=dev-java/rxtx-2.2_pre2:2 + dev-java/swing-layout:1 + dev-java/swingx:1.6 + dev-java/swingx-ws:bt747 +" + +RDEPEND=" + ${CDEPEND} + dev-libs/glib:2[dbus] + >=virtual/jre-1.7 +" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.7 + app-arch/unzip +" + +EANT_BUILD_TARGET="dist.j2se" +EANT_EXTRA_ARGS="-Dskip.proguard=yes -Dsvn=true -Dsvnversion=true -Dbuild.current.revision=Gentoo" +EANT_GENTOO_CLASSPATH="commons-imaging,jcalendar-1.2,jchart2d,jopt-simple,rxtx-2,swing-layout-1,swingx-1.6,swingx-ws-bt747" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +S="${WORKDIR}" + +src_prepare() { + # Fix for newer jchart2d. + epatch "${FILESDIR}/jchart2d-3.2.patch" + + # Remove all the bundled stuff. + rm -rv dist/ lib/ || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + src_j2se/net/sf/bt747/j2se/app/list/FileListCellRenderer.java || die + + eapply_user +} + +src_install() { + dodoc {ChangeLog,README}.txt + + java-pkg_dojar dist/*.jar + java-pkg_dolauncher ${PN} --main bt747.j2se_view.BT747Main \ + --java-args="-Xmx192m" + + doicon "${DISTDIR}/${PN}.gif" + make_desktop_entry ${PN} BT747 bt747.gif +} diff --git a/sci-geosciences/bt747/files/jchart2d-3.2.patch b/sci-geosciences/bt747/files/jchart2d-3.2.patch new file mode 100644 index 000000000000..8f81a5a4a59d --- /dev/null +++ b/sci-geosciences/bt747/files/jchart2d-3.2.patch @@ -0,0 +1,15 @@ +--- src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java.orig 2010-03-08 22:15:41.000000000 +0000 ++++ src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java 2016-02-10 22:17:02.188118721 +0000 +@@ -46,9 +46,9 @@ + heightAxis.getAxisTitle().setTitle("Height"); + speedAxis.getAxisTitle().setTitle("Speed"); + +- setAxisXBottom(timeAxis); +- setAxisYLeft(heightAxis); +- setAxisYRight(speedAxis); ++ setAxisXBottom(timeAxis, 0); ++ setAxisYLeft(heightAxis, 0); ++ setAxisYRight(speedAxis, 0); + + } + diff --git a/sci-geosciences/bt747/metadata.xml b/sci-geosciences/bt747/metadata.xml new file mode 100644 index 000000000000..179b0d19f5c9 --- /dev/null +++ b/sci-geosciences/bt747/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> + <longdescription lang="en"> +BT747 is software that can: + * Download recorded position data from GPS Data Loggers based on the MTK chipset. + * Convert GPS position data in many formats (HTML, GPX, KML, KMZ, ...) + * Geotag JPG pictures and position any other filetype on the map (voice, documents, ...) + * Runs on Handheld Devices (Palm, WinCE, Mobile Phones supporting Java (J2ME)) + * Runs on Desktops (Windows, MacOSX, Linux flavors) + * Configure MTK Chipset Based Devices and Loggers + * Upload AGPS(EPO) data to MTK II Chipset Based Devices and Loggers +</longdescription> + <upstream> + <remote-id type="sourceforge">bt747</remote-id> + </upstream> +</pkgmetadata> |