summaryrefslogtreecommitdiff
path: root/x11-misc/macopix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/macopix
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/macopix')
-rw-r--r--x11-misc/macopix/Manifest16
-rw-r--r--x11-misc/macopix/files/macopix-1.7.4-windres.patch58
-rw-r--r--x11-misc/macopix/macopix-1.7.4-r1.ebuild86
-rw-r--r--x11-misc/macopix/metadata.xml8
4 files changed, 168 insertions, 0 deletions
diff --git a/x11-misc/macopix/Manifest b/x11-misc/macopix/Manifest
new file mode 100644
index 000000000000..fdef44c2dc3c
--- /dev/null
+++ b/x11-misc/macopix/Manifest
@@ -0,0 +1,16 @@
+AUX macopix-1.7.4-windres.patch 1842 SHA256 cb91b33950626beb44781af3dcb7df0d5ee0f441485c6344e29108409aa385ac SHA512 02980ad64f1711d744e17d9d906349b729661f00b290218f3b03284c40181d57056174ff9eab1a53a6367d497e7d8ab519076c22995bc0261c9ab6f526a45881 WHIRLPOOL 6a61ea229c513c5b5a1457ab434896ce5dca930d7b296240091d6be7c71460af785be17cff3891d256cf3c901d628e59741ce28e7e60dcad24546601e043e576
+DIST macopix-1.7.4.tar.bz2 725481 SHA256 cbff49abca2f8709dd27a8705fb54e663b160fa5376eaf2da30f0e9e39c8f669 SHA512 6010f98ecd3aad4325e81f037589cc4e79d857d513687f5243adb6ef3768ace5cddf4f5cdce977a75a4dc769b52bb541bdeefe92cdc012471de950ee81592db7 WHIRLPOOL 765276f6770e0c03332a100f052e44bf01d75b78b817c16cb103c82d13f065ebbbc1c1e6b8661215dc8219763c6f72f846beac478d1f110bf1de0e26a2c99f7b
+DIST macopix-mascot-HxB-euc-ja-0.30.tar.gz 803473 SHA256 3e8ca25e163a97fca12e1a134943a7815e245c779ff88e9444b7af5ee117f4fb SHA512 8897bd6d30fe3372e91d00add2a1af5d7fd7384ce7668aa9b21952d5be863d04c63af8bb98846c59f54a87af3b60acbd008f6c62b68a22038f29a07e7ba19333 WHIRLPOOL dcf76db88af2034a156d5987e6772ad03b0b756c080b9d1423fa8038bc57f14de31b8e2e868c0814eb79c0affd875a1bbef1ecf28065d2a5abb8ca9cf754d0b3
+DIST macopix-mascot-comic_party-euc-ja-1.02.tar.gz 20656 SHA256 3dbdcd20f2f1f99062263b70bcef92e31f81b1e3e6c62ac0de8f71df83cb1983 SHA512 b71a586faef6b878c150e7e8e412c70d8d08919736695108efe2f119aaa01347befcaf222990fbaba10daa57120645e5c77b5534df0e4224feddbaa15c80ecf2 WHIRLPOOL 87f622715dddcb6937ae2685d8324864bde7f67571bd425b2791b46b0d29607466f3a99d43ba7c2187d3929bb5e8fb4382f5282a9935c8eceaa86daf350177a7
+DIST macopix-mascot-cosmos-euc-ja-1.02.tar.gz 329269 SHA256 e39ef6da31f8f8c4c9c8a50fe0e1e00800fe7258b51d1cb4a9b6512962f8a3aa SHA512 05b126b872c7ddf7dfe5b6fdd9654b8f97f6e005d8fa8ad30277a379c333cb0defaad43f9165db4712fc7e4d755fdddd34dce49a99f89c56f4dc951340fc7b1b WHIRLPOOL f13c4652ce7589dd9da4ddbe3b28ee0aa992ac84cbf7cdd7af1b4ab879036ced13cc917c97c59e3d835718dd41ddd7ee14e058f169a4a0072cee62975a136f61
+DIST macopix-mascot-kanon-euc-ja-1.02.tar.gz 451021 SHA256 3b2b1d6cbc5f413404680866e2e4506e6ec081af7f90dfa015f5674c8454729b SHA512 4dca3b0389ea0f305938d0867c06702dd1983e1728751fc09d51d64ec0df4c3389a91e35c113436a45ddbe6f7fb6ba7019f29a88cc118bcc4abcc128cb3a33f7 WHIRLPOOL 0dd4bd9fb4d9507332741fde9b5ca22da78311279046b1eb72e6170ae0291bdac2dc9b54eeb36a0552df02c309e05d8a881a6d71e6f33c25095bebbfdc30cc4b
+DIST macopix-mascot-marimite-euc-ja-2.20.tar.gz 916260 SHA256 dd64c0834032dd37b83dc5f660dc813fcb0c514f3331f942afc61ff483126418 SHA512 15c98e05b6f9139c085464f1286db9eda32ccce180f970684b8eebbd1eab904a7db736fce5a1c8ca48692b7b5b7e407e6d23d9ad03350780d8dfe6fee4b1386c WHIRLPOOL 835df6a4fcd416d83694d63af03daa97a5ad169b0bd746e246158f77505a03e78047e4355fa6a418373ee692da33a6276c1cd984783e8af02ad8f9400801a80e
+DIST macopix-mascot-mizuiro-euc-ja-1.02.tar.gz 187782 SHA256 f57a40f8b107f862162ce40d07f2237670b850af353b4b3ca880e7190e4e104f SHA512 4bd4cb0ad2fab501b76855994e5c92737d110820c2c70ce12a7d7a8b6ea9e28887a0022dc19c3ac1e927f6f90f4097d6cd3b1d9a9954b42311aa71041f2d0596 WHIRLPOOL 8d0a42346dc4644b93902db3cdabb5e29e66faab9f1b5795c10869d35fd7a872da2d2f1a8795c752580515ef146ab99037a6c8c3714af473133fa7b82aaf4ba7
+DIST macopix-mascot-one-euc-ja-1.02.tar.gz 199796 SHA256 d365e516557fd6f3826d9086f7348c3e444256371cac87f901078ece7c118454 SHA512 2344f4734bd13fecb2c1ea1451aa1100ab4145ee7e29ea4730546ffeb4067f3505875d7c5efda5c7f2a2b08ecbe77b0a42d89b51e4e2ae95924eff02a5c0d99e WHIRLPOOL 9cc8aa9460282f3d21ad6f36b57101b6635e0696440ae2bd60384fc0a98383a5c1b78d1f8e18f5b250920a87af440c49735374041c0108ce4b7da776f829e1e4
+DIST macopix-mascot-pia2-euc-ja-1.02.tar.gz 191520 SHA256 b3ae2b2480173673010f91fd0864249e05bd990af9af9fccddd43a2bd829d76b SHA512 4e0177ca699d9e9caea7a9b6f6d81b41a25e1f05f44c9df1ea31578ddb908fcf12e6463bb84f0536ae25df24aca712b17a0d068d74c587671bb202c8441b7f42 WHIRLPOOL a595e13cae427cd283dd25191f40c999b68528cad93e0e0245898bfa24c9cccf216c5745ab6320546850cbf31d603593a6cf579735588d3be45257f8f8b1074e
+DIST macopix-mascot-triangle_heart-euc-ja-1.02.tar.gz 310099 SHA256 5849b6e40a8037e0739b523aed7b597cb2464418bb922d7917dd95c7ed65cdef SHA512 133a3446a3713192ffef84cd381065b2a99db2eb0dd18692d54e7974eb26aa63eef6d051466ddf89152f6baa8e4625ae6e7e975cf944dd12e0b6cc17c56e5673 WHIRLPOOL fe918686dea750b1b7cd8593c0e3c2b48b02dc7fa9fec268d4a00e2bf3011e20659ccd8806f9dd716b16653734d6146b1e9354896bd2a8eded66330c0bd1da9b
+DIST macopix-mascot-tsukihime-euc-ja-1.02.tar.gz 616138 SHA256 6dcf1add046046f45ad9b23ed174b22537e23cfa3686b6bc84f607bd34a7ea8e SHA512 226a175846a1f81a5aeedab6d7b85e38903d3b85a88a4a2c9a91365ba8a149a9ee54d6174bf8c4595cbe6542d3afcebd440a4185402c2139310664059515a2c5 WHIRLPOOL ae946ec2f8d41d4015e0e41f3d636ce336de4bf5b515ef96962ad1a2fed24d6da8316f1bdeb6d303c9f83235d51533aebdab9fae01530f990cbbbe224e719021
+EBUILD macopix-1.7.4-r1.ebuild 1820 SHA256 67b47c8ffc359693ef15aecde5dd86954576f7c5995c3df18acc9ba69c2ad88b SHA512 1d11c0d2c98b16f5544d4a8895d539dfa9a191f64d4ca55f5f4d1bc2e49f42af13b92e7fd15c5ef29f1fd64d8e6bee93fe31ab64cdf52c0255efd53dba393cca WHIRLPOOL ccb950eb8d57a018b88154caaf3beeb14549d5b0e8eaa414a93b628d697f6eda17a1771f77b46053a3615e4b8c4f7e926d17fa5e0338fa247f3614b7c8090278
+MISC ChangeLog 2427 SHA256 64b2a0aa47ad1fc92253ce7451076628b0ddde6b7fd15e9e0a0e065f884c3ff6 SHA512 d7f4b459f2c21b0161f1e00a02660fb6eabab62a7ec118b92bb0731b9918c54aeebd2f7310d05a537ea788a12ed9c48eabe56a24242d42ead0041e308e21526f WHIRLPOOL 69d876e5fb2061d1aedbf81f1516dde649ad1a9eac03f89a063594bc8471d2594d88acc663d0025dccc8a316e9172fbfd9158a9f01366a091401d8094bf9a086
+MISC ChangeLog-2015 3598 SHA256 d138634f3991e63733cc484efcbc3586ccacd885f34901f7531d85a0def45a4c SHA512 560158f4ceab9b36efe071909680507d48d34fd72f27b0634384632d45222a7a1742faf16879b1abcdeb29c4adbca2059c6f7f6f17a061b9b506f692b2f8cec1 WHIRLPOOL 6cd363e397a7380a9856251e569587fbddbdb1e530b52b7b264774a208018faf60319dfd202734a61085c7b76c4bbf98081705e6d7a83743e384977b9e8b55bb
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/macopix/files/macopix-1.7.4-windres.patch b/x11-misc/macopix/files/macopix-1.7.4-windres.patch
new file mode 100644
index 000000000000..e26bf62e7b74
--- /dev/null
+++ b/x11-misc/macopix/files/macopix-1.7.4-windres.patch
@@ -0,0 +1,58 @@
+--- a/configure.in
++++ b/configure.in
+@@ -145,26 +145,10 @@
+ [use Gtk+1.2 insted of Gtk+2]),
+ [use_gtk1=yes])
+
+-if test x"${use_gtk1}" = "xyes"; then
+-AM_PATH_GLIB(1.2.6,,
+- AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.),
+- gthread)
+-AM_PATH_GTK(1.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+-AM_PATH_GDK_PIXBUF(0.7.0, ,
+- AC_MSG_ERROR(Cannot find GdkPixbuf: Is gdk-pixbuf-config in path?))
+-dnl for libpng (In the case of Gtk+2, gdk_pixbuf_save are used.)
+-AC_CHECK_LIB(png,png_create_write_struct,
+- [PNGLIB_LIBS="-lz -lpng -lm"],
+- [AC_MSG_ERROR(libpng is required.)],
+- -lz -lm)
+-
+-else
+ AM_PATH_GLIB_2_0(2.0.0,, AC_MSG_ERROR([glib-2.x is required]), gthread gobject)
+ AM_PATH_GTK_2_0(2.0.0,, AC_MSG_ERROR([gtk+-2.x is required]), gthread gobject)
+ AC_DEFINE(USE_GTK2,[], [Use Gtk+2.x instead of Gtk+1.x])
+ PNGLIB_LIBS=""
+-fi
+ AC_SUBST(PNGLIB_LIBS)
+
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -9,14 +9,6 @@
+ bmp.h sockmsg.h codeconv.h unmime.h base64.h quoted-printable.h\
+ macopix_icon.h tar32api.h ssl.h
+
+-if HAVE_WINDRES
+-MACOPIX_RES = macopix.res
+-macopix.res: macopix_res.rc
+- $(WINDRES) $< -O coff -o $@
+-else
+-MACOPIX_RES =
+-endif
+-
+ EXTRA_DIST = \
+ macopix_res.rc.in\
+ macopix.ico\
+@@ -25,9 +17,9 @@
+ tar32.dll\
+ libtar32.a
+
+-INCLUDES = @GTK_CFLAGS@ @GDK_PIXBUF_CFLAGS@ $(GNUTLS_CFLAGS)\
++INCLUDES = @GTK_CFLAGS@ $(GNUTLS_CFLAGS)\
+ $(DISABLE_DEPRECATED)
+-LDADD = @GTK_LIBS@ @GDK_PIXBUF_LIBS@ $(PNGLIB_LIBS) $(WINMM_LIBS)\
++LDADD = @GTK_LIBS@ $(PNGLIB_LIBS) $(WINMM_LIBS)\
+ $(MACOPIX_RES) $(WINSOCK_LIBS) $(UNLHA32_LIBS) $(TAR32_LIBS) $(GNUTLS_LIBS) $(WIN32_ICONV_LIBS)
+ CLEANFILES = *~
+ DISTCLEANFILES = .deps/*.P
diff --git a/x11-misc/macopix/macopix-1.7.4-r1.ebuild b/x11-misc/macopix/macopix-1.7.4-r1.ebuild
new file mode 100644
index 000000000000..59e739739fd5
--- /dev/null
+++ b/x11-misc/macopix/macopix-1.7.4-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application"
+HOMEPAGE="http://rosegray.sakura.ne.jp/macopix/index-e.html"
+
+BASE_URI="http://rosegray.sakura.ne.jp/macopix"
+SRC_URI="${BASE_URI}/${P}.tar.bz2"
+
+# NOTE: These mascots are not redistributable on commercial CD-ROM.
+# The author granted to use them under Gentoo Linux.
+MY_MASCOTS="
+ macopix-mascot-HxB-euc-ja-0.30
+ macopix-mascot-marimite-euc-ja-2.20
+ macopix-mascot-cosmos-euc-ja-1.02
+ macopix-mascot-mizuiro-euc-ja-1.02
+ macopix-mascot-pia2-euc-ja-1.02
+ macopix-mascot-tsukihime-euc-ja-1.02
+ macopix-mascot-triangle_heart-euc-ja-1.02
+ macopix-mascot-comic_party-euc-ja-1.02
+ macopix-mascot-kanon-euc-ja-1.02
+ macopix-mascot-one-euc-ja-1.02
+"
+
+for i in ${MY_MASCOTS} ; do
+ SRC_URI+=" ${BASE_URI}/${i}.tar.gz"
+done
+
+# programme itself is GPL-2, and mascots are free-noncomm
+LICENSE="GPL-2 free-noncomm"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gnutls nls"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/libpng:0=
+ sys-devel/gettext
+ x11-libs/gtk+:2
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl:0= )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-windres.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ append-libs -lX11
+
+ econf $(use_with gnutls)
+}
+
+src_install() {
+ default
+
+ dodoc AUTHORS ChangeLog* NEWS *README*
+
+ # install mascots
+ for d in ${MY_MASCOTS} ; do
+ einfo "Installing ${d}..."
+ cd "${WORKDIR}/${d}" || die
+ insinto /usr/share/"${PN}"
+ for i in *.mcpx *.menu ; do
+ doins "$i" || die
+ done
+ insinto /usr/share/"${PN}"/pixmap
+ for i in *.png ; do
+ doins "$i"
+ done
+ docinto "${d}"
+ dodoc README.jp
+ done
+}
diff --git a/x11-misc/macopix/metadata.xml b/x11-misc/macopix/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/macopix/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>