diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-pda/jpilot | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-pda/jpilot')
-rw-r--r-- | app-pda/jpilot/Manifest | 5 | ||||
-rw-r--r-- | app-pda/jpilot/files/jpilot-1.8.2-fix-paths.patch | 119 | ||||
-rw-r--r-- | app-pda/jpilot/files/jpilot-1.8.2-qa-desktop-file.patch | 13 | ||||
-rw-r--r-- | app-pda/jpilot/jpilot-1.8.2.ebuild | 49 | ||||
-rw-r--r-- | app-pda/jpilot/metadata.xml | 5 |
5 files changed, 191 insertions, 0 deletions
diff --git a/app-pda/jpilot/Manifest b/app-pda/jpilot/Manifest new file mode 100644 index 000000000000..8a6077debeef --- /dev/null +++ b/app-pda/jpilot/Manifest @@ -0,0 +1,5 @@ +AUX jpilot-1.8.2-fix-paths.patch 3619 BLAKE2B 01d77eb206f2ce4c1f28b2950334f0814fb398cc61bc4164e573a7290b6ff0a1d6c710c6932ce0170b8634459beb8f2f53c296b3fcf79ea56d8ca061459babd4 SHA512 25e026aafc04e488183a7537f37566b30c1300f090cc1b4c9eca6531e30654751e10f72c8d45f0ad1bcfa441c659380831de520f41906daec61b4b069fc84f81 +AUX jpilot-1.8.2-qa-desktop-file.patch 280 BLAKE2B 8a84005ce60627cea1f6b8b9ce96e824a65b621d63706703d15a3dd1ed48945ab100927a885d8c7e40c2688194f89a151be96729b26d6cb4d081024095ed3178 SHA512 ccc59b87c5e7f9074e83e9c3a47799c6779c29583fbd9845a26ad735342b22bf390bf8bed50dc2adac097dea00823ea587c8a5abdce4c197f5160e59c4617a37 +DIST jpilot-1.8.2.tar.gz 1740735 BLAKE2B efc9fb8e88843d6e0f4f2245753d67856c9d0cd455c9a22c829bb103631fd8a8111ead3cb4bc434a6be00ad0cb35fe554a9ebbe1f2d38bfaf560e1b414c62260 SHA512 733dd51a2acc60760bb1ffaa0d7b4433584a571793d5e4f857492349bae8d032625baf9f0060e619d760628ddda3559bf4be057f45f4dc17ddf1af1ca795c024 +EBUILD jpilot-1.8.2.ebuild 894 BLAKE2B 35741144208a8384ae7e53e97209996ed09736f80e8466abbb0f7141135b6429219b7ad4fa9cb6c3c37783f318fbe1ae152a364335a1d3f2fe7b329a31e6b975 SHA512 c6af70006a1fe3a4a595e30e08c46946b632abd912355aa7fab91711cb4765cf63392edd28e941a87cf7e5354866037b73d496b545365ec7309be0f2cdcdc3b0 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-pda/jpilot/files/jpilot-1.8.2-fix-paths.patch b/app-pda/jpilot/files/jpilot-1.8.2-fix-paths.patch new file mode 100644 index 000000000000..e378d5699d00 --- /dev/null +++ b/app-pda/jpilot/files/jpilot-1.8.2-fix-paths.patch @@ -0,0 +1,119 @@ +* Modify Makefile.am's to be compliant with GNU and Gentoo filesystem conventions +* Use redefinable variables instead of hard-replacing @VAR@-style variables +* Replace abuse of 'libdir' install path variables + +--- a/docs/Makefile.am ++++ b/docs/Makefile.am +@@ -3,19 +3,17 @@ + man_MANS = jpilot.1 jpilot-dial.1 jpilot-sync.1 jpilot-dump.1 jpilot-merge.1 + + # Install the standard GNU doc files +-miscdir = $(datadir)/doc/$(PACKAGE) ++miscdir = $(docdir) + misc_DATA = \ + ../BUGS \ + ../ChangeLog \ +- ../COPYING \ + ../AUTHORS \ +- ../INSTALL \ + ../README \ + ../TODO + + # Install the manual docs +-docdir = $(miscdir)/manual +-doc_DATA = \ ++manualdir = $(htmldir) ++manual_DATA = \ + manual.html \ + plugin.html \ + jpilot-address.png \ +--- a/Expense/Makefile.am ++++ b/Expense/Makefile.am +@@ -1,11 +1,11 @@ +-libdir = @libdir@/@PACKAGE@/plugins ++pluginsdir = $(libdir)/$(PACKAGE)/plugins + + if MAKE_EXPENSE + +-lib_LTLIBRARIES = libexpense.la ++plugins_LTLIBRARIES = libexpense.la + libexpense_la_SOURCES = expense.c +-libexpense_la_CFLAGS = @PILOT_FLAGS@ @GTK_CFLAGS@ -I$(top_srcdir) ++libexpense_la_CFLAGS = $(PILOT_FLAGS) $(GTK_CFLAGS) -I$(top_srcdir) + libexpense_la_LDFLAGS = -module -avoid-version +-libexpense_la_LIBADD = @GTK_LIBS@ ++libexpense_la_LIBADD = $(GTK_LIBS) + + endif +--- a/icons/Makefile.am ++++ b/icons/Makefile.am +@@ -1,4 +1,4 @@ +-icondir = $(datadir)/doc/$(PACKAGE)/icons ++icondir = $(docdir)/icons + icon_DATA = \ + jpilot-icon1.xpm \ + jpilot-icon2.xpm \ +--- a/KeyRing/Makefile.am ++++ b/KeyRing/Makefile.am +@@ -1,13 +1,13 @@ +-libdir = @libdir@/@PACKAGE@/plugins ++pluginsdir = $(libdir)/$(PACKAGE)/plugins + + EXTRA_DIST = README + + if MAKE_KEYRING + +-lib_LTLIBRARIES = libkeyring.la ++plugins_LTLIBRARIES = libkeyring.la + libkeyring_la_SOURCES = keyring.c +-libkeyring_la_CFLAGS = @PILOT_FLAGS@ @GTK_CFLAGS@ @LIBGCRYPT_CFLAGS@ -I$(top_srcdir) ++libkeyring_la_CFLAGS = $(PILOT_FLAGS) $(GTK_CFLAGS) $(LIBGCRYPT_CFLAGS) -I$(top_srcdir) + libkeyring_la_LDFLAGS = -module -avoid-version +-libkeyring_la_LIBADD = @OPENSSL_LIBS@ @GTK_LIBS@ @LIBGCRYPT_LIBS@ ++libkeyring_la_LIBADD = $(OPENSSL_LIBS) $(GTK_LIBS) $(LIBGCRYPT_LIBS) + + endif +--- a/Makefile.am ++++ b/Makefile.am +@@ -161,18 +161,17 @@ + ACLOCAL_AMFLAGS = -I m4 + + # Add i18n support +-localedir = $(datadir)/locale + I18NDEFS = -DLOCALEDIR=\"$(localedir)\" + +-AM_CFLAGS= @PILOT_FLAGS@ @GTK_CFLAGS@ ${I18NDEFS} ++AM_CFLAGS= $(PILOT_FLAGS) $(GTK_CFLAGS) $(I18NDEFS) + + # Add linkflags + jpilot_LDFLAGS = -export-dynamic +-jpilot_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@ +-jpilot_dump_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@ ++jpilot_LDADD=$(LIBS) $(PILOT_LIBS) $(GTK_LIBS) ++jpilot_dump_LDADD=$(LIBS) $(PILOT_LIBS) $(GTK_LIBS) + jpilot_sync_LDFLAGS = -export-dynamic +-jpilot_sync_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@ +-jpilot_merge_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@ ++jpilot_sync_LDADD=$(LIBS) $(PILOT_LIBS) $(GTK_LIBS) ++jpilot_merge_LDADD=$(LIBS) $(PILOT_LIBS) $(GTK_LIBS) + + ################################################################################ + ## The rest of the file is copied over to the Makefile with only variable +--- a/SyncTime/Makefile.am ++++ b/SyncTime/Makefile.am +@@ -1,11 +1,11 @@ +-libdir = @libdir@/@PACKAGE@/plugins ++pluginsdir = $(libdir)/$(PACKAGE)/plugins + + if MAKE_SYNCTIME + +-lib_LTLIBRARIES = libsynctime.la ++plugins_LTLIBRARIES = libsynctime.la + libsynctime_la_SOURCES = synctime.c +-libsynctime_la_CFLAGS = @PILOT_FLAGS@ @GTK_CFLAGS@ -I$(top_srcdir) ++libsynctime_la_CFLAGS = $(PILOT_FLAGS) $(GTK_CFLAGS) -I$(top_srcdir) + libsynctime_la_LDFLAGS = -module -avoid-version +-libsynctime_la_LIBADD = @GTK_LIBS@ ++libsynctime_la_LIBADD = $(GTK_LIBS) + + endif diff --git a/app-pda/jpilot/files/jpilot-1.8.2-qa-desktop-file.patch b/app-pda/jpilot/files/jpilot-1.8.2-qa-desktop-file.patch new file mode 100644 index 000000000000..c4624e1e94e8 --- /dev/null +++ b/app-pda/jpilot/files/jpilot-1.8.2-qa-desktop-file.patch @@ -0,0 +1,13 @@ +* The 'Icon=' property should not have a suffix + +--- a/jpilot.desktop ++++ b/jpilot.desktop +@@ -2,7 +2,7 @@ + Name=J-Pilot + Comment=Desktop organizer application for the Palm Pilot + Exec=jpilot +-Icon=jpilot.xpm ++Icon=jpilot + Terminal=false + Type=Application + Categories=Office;PDA; diff --git a/app-pda/jpilot/jpilot-1.8.2.ebuild b/app-pda/jpilot/jpilot-1.8.2.ebuild new file mode 100644 index 000000000000..7d10a5cc6419 --- /dev/null +++ b/app-pda/jpilot/jpilot-1.8.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Desktop Organizer Software for the Palm Pilot" +HOMEPAGE="http://www.jpilot.org/" +SRC_URI="http://jpilot.org/tarballs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 x86" +IUSE="nls" + +RDEPEND=" + app-pda/pilot-link + dev-libs/libgcrypt:0= + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + nls? ( + dev-util/intltool + sys-devel/gettext + ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8.2-qa-desktop-file.patch + "${FILESDIR}"/${PN}-1.8.2-fix-paths.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + docompress -x /usr/share/doc/${PF}/icons + + # .la files for plugins are useless + find "${D}" -name '*.la' -delete || die +} diff --git a/app-pda/jpilot/metadata.xml b/app-pda/jpilot/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-pda/jpilot/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |