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 /x11-libs/dnd |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/dnd')
-rw-r--r-- | x11-libs/dnd/Manifest | 8 | ||||
-rw-r--r-- | x11-libs/dnd/dnd-1.1-r1.ebuild | 39 | ||||
-rw-r--r-- | x11-libs/dnd/dnd-1.1-r2.ebuild | 41 | ||||
-rw-r--r-- | x11-libs/dnd/files/Makefile-fix.patch | 44 | ||||
-rw-r--r-- | x11-libs/dnd/files/dnd-1.1-gentoo.diff | 35 | ||||
-rw-r--r-- | x11-libs/dnd/metadata.xml | 5 |
6 files changed, 172 insertions, 0 deletions
diff --git a/x11-libs/dnd/Manifest b/x11-libs/dnd/Manifest new file mode 100644 index 000000000000..5179ac8ea963 --- /dev/null +++ b/x11-libs/dnd/Manifest @@ -0,0 +1,8 @@ +AUX Makefile-fix.patch 1139 SHA256 b563dbc082492be9458a51c39a5b2152446bb476fcf2876bebd376510d8c0d4d SHA512 57785cec0adfef150f9560be79cad9f6170c0476060b7653705fc8a2e17e81c93996a4ca1cfa11cece609950e8d4afcae113f2169a6b5d622494c3ae36cd6c26 WHIRLPOOL 22fda9dc77b3343e6f2d17004087bba7d52007dfae86dc257a57548b0309944434c02eac54a6e666a68d614cd01118049c80981b9294bcbef2eec06c7d827e3a +AUX dnd-1.1-gentoo.diff 1532 SHA256 1868b437bbd58eeb6747738695b8e8fa1dd3f2ac2df515514fe3af6e92adf429 SHA512 68e3fe2a8c36a1b9b8bfdf57ef4eef1e5abb11debd160633cc0d323cf90b1ba579ee87aad82fa8e29b086cbbcfe19326f2202f6191749059cfe638fa7940ec5f WHIRLPOOL 789283afb1849e6331a7c1f6c8c13f5f4033dce0873d93d89e1242f69636706b1bdaf23811907737c3e78af4d37d993f6b1d38d753aaccb7e355117adfaf618b +DIST dnd.1.1.tgz 227598 SHA256 ffd9b74f1bf8e5c18a4745ef89e9c6618f9507ec09a010c4bf15481a3f130804 SHA512 8644d669ea6553b4e99469f30144286e262fd64379a00b8595d1574d0f4f0e504799ed18979a9036cfc89d74074d325ffca94b4147e350969f3a1c5ff9cf0ff8 WHIRLPOOL 4fdd0d9d4bd9b42499565172878941d38819fe6810452d4262d6735ba57f47d4c5ccbd7e51290d28e3bcfd84c336996267b3198189820e9a9fd3f9a3b5e2a877 +EBUILD dnd-1.1-r1.ebuild 857 SHA256 6940f7161efd387be337c6e5cf20069b31b2e5d0281a457d0acf69648208e3fc SHA512 5151812e7f8843ac5d9e7fca6c1dd80596727c7978cca424828cf84ee7302bfeb9a0c1c4b85fdca8556e81011396602859d63cfec33ea61ddf02892babf47c8c WHIRLPOOL 8c6f87db0936dc9acac9672d599c51b6fd73cf3ce79f674aafa9e5443e2033d1667b0748a76506f140f80ee0837bd48a21a95fb5666739edfa5c7020b2b59394 +EBUILD dnd-1.1-r2.ebuild 742 SHA256 8d69826ce185e7257e8a81a2201e1e0111866df3f0ec7643920035f71e2ecc2a SHA512 431312b492e1a888d14508ba36eaec184ca1db4224a2e8e01d4eafed817f157e22927db5aba59cd03724fd5606cc230d0872dcc2481378b5ca409a54970ffc3f WHIRLPOOL 18b807d78885839aca864752d0a694e5fe9717cb7d36aab8a3eccdc94c2edd6274a22662b46d76dc5b16d7857ae714cf1a1b7095e1144f0b2c659f42fa375b5a +MISC ChangeLog 2567 SHA256 1d6da1270883bb1a48a7d7e50a60d08d1a483b10c2d9351966b0882cbfe0518b SHA512 933af7b03b8041a4153b16753439f78ea8b026d6ce0c0b0d2f8224d4c171d567e79a5f74c2dbe8df353b0ad8ed68db41a02144a0c371251d42af75446d0dd80d WHIRLPOOL 8cc076a2af4663b0455ee0f00942a705ace72613d2e8e0615852ddbd76f98254356e06ab6c2dd1e734e37789673ff2ff18076ea09196a8bb44370039d42a8c6b +MISC ChangeLog-2015 3324 SHA256 7c209215b000fed6a88cff83e11ca16536004a9d6308690c9b7b03a3a683ff80 SHA512 d5d3ed57d8e6984f26b1c2a66915b1f62ebb0de3de801bbc762443ca8522247114b34c265b877eb1cac1e3c9f37d60cba2eda4fe01f5dfc435b77df708991aeb WHIRLPOOL e9d2a42677002ff916bc48c3d138c3c1888bcf2e618c0ba615f3249c07f5799d07789e8e6165d5002688f010a38f437df93d50ed4a1086df4d998c3d659ec876 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/x11-libs/dnd/dnd-1.1-r1.ebuild b/x11-libs/dnd/dnd-1.1-r1.ebuild new file mode 100644 index 000000000000..d1f2510ba884 --- /dev/null +++ b/x11-libs/dnd/dnd-1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs eutils + +S=${WORKDIR}/DND/DNDlib +DESCRIPTION="OffiX' Drag'n'drop library" +HOMEPAGE="http://leb.net/offix" +SRC_URI="http://leb.net/offix/${PN}.${PV}.tgz" +IUSE="" +SLOT="0" +LICENSE="GPL-2 LGPL-2" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" + +RDEPEND=">=x11-libs/libX11-1.0.0 + >=x11-libs/libXmu-1.0.0 + >=x11-libs/libXt-1.0.0 + >=x11-libs/libICE-1.0.0 + >=x11-libs/libSM-1.0.0 + >=x11-libs/libXaw-1.0.1 + >=x11-proto/xproto-7.0.4" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.diff || die + epatch "${FILESDIR}"/Makefile-fix.patch || die +} + +src_compile() { + tc-export CC CXX RANLIB AR + econf --with-x || die + emake || die +} + +src_install () { + make DESTDIR="${D}" install || die +} diff --git a/x11-libs/dnd/dnd-1.1-r2.ebuild b/x11-libs/dnd/dnd-1.1-r2.ebuild new file mode 100644 index 000000000000..aa9c65770057 --- /dev/null +++ b/x11-libs/dnd/dnd-1.1-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs eutils + +DESCRIPTION="OffiX' Drag'n'drop library" +HOMEPAGE="http://leb.net/offix" +SRC_URI="http://leb.net/offix/${PN}.${PV}.tgz" +SLOT="0" +LICENSE="GPL-2 LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + x11-libs/libXt + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libICE + x11-libs/libXaw + x11-proto/xproto" + +DEPEND=" + ${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.diff + "${FILESDIR}"/Makefile-fix.patch +) + +S="${WORKDIR}/DND/DNDlib" + +src_configure() { + tc-export CC CXX RANLIB AR + econf --with-x +} + +src_install () { + emake DESTDIR="${D}" install +} diff --git a/x11-libs/dnd/files/Makefile-fix.patch b/x11-libs/dnd/files/Makefile-fix.patch new file mode 100644 index 000000000000..3a11282d1ccc --- /dev/null +++ b/x11-libs/dnd/files/Makefile-fix.patch @@ -0,0 +1,44 @@ +--- a/Makefile.in 1997-05-22 22:18:22.000000000 -0400 ++++ a/Makefile.in 2004-06-16 14:41:19.673035936 -0400 +@@ -16,7 +16,7 @@ + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +-LIB_DIR = @libdir@ ++LIB_DIR = $(DESTDIR)@libdir@ +-INC_DIR = @includedir@/OffiX ++INC_DIR = $(DESTDIR)@includedir@/OffiX + + COMPILE = $(CC) $(INCLUDES) $(CFLAGS) -c +@@ -42,19 +42,22 @@ + $(COMPILE) dndtest.c + $(LINK) dndtest.o -L. -lDnd $(LIBS) + +-libDnd.a: DragAndDrop.c +- rm -f DragAndDrop.o +- $(COMPILE) DragAndDrop.c ++libDnd.a: DragAndDropC.o + rm -f libDnd.a +- $(AR) cru libDnd.a DragAndDrop.o ++ $(AR) cru libDnd.a DragAndDropC.o + $(RANLIB) libDnd.a + +-libDnd++.a: DragAndDrop.c +- rm -f DragAndDrop.o DragAndDrop.cxx +- ln -s DragAndDrop.c DragAndDrop.cxx +- $(CXXCOMPILE) DragAndDrop.cxx ++DragAndDropC.o: DragAndDrop.c ++ rm -f DragAndDropC.o ++ $(COMPILE) DragAndDrop.c -o DragAndDropC.o ++ ++DragAndDropCpp.o: DragAndDrop.c ++ rm -f DragAndDropCpp.o ++ $(CXXCOMPILE) DragAndDrop.c -o DragAndDropCpp.o ++ ++libDnd++.a: DragAndDropCpp.o + rm -f libDnd++.a +- $(AR) cru libDnd++.a DragAndDrop.o ++ $(AR) cru libDnd++.a DragAndDropCpp.o + $(RANLIB) libDnd++.a + + clean: diff --git a/x11-libs/dnd/files/dnd-1.1-gentoo.diff b/x11-libs/dnd/files/dnd-1.1-gentoo.diff new file mode 100644 index 000000000000..4857b709aa93 --- /dev/null +++ b/x11-libs/dnd/files/dnd-1.1-gentoo.diff @@ -0,0 +1,35 @@ +--- a/DragAndDrop.c Tue Sep 25 21:14:11 2001 ++++ b/DragAndDrop.c Tue Sep 25 21:14:16 2001 +@@ -81,23 +81,23 @@ + + static CursorData DndCursor[DndEND]={ + { 0,0,NULL,NULL,0,0,0 }, +- { grey_width, grey_height,grey_bits,grey_mask_bits, ++ { grey_width, grey_height,(char*)grey_bits,(char*)grey_mask_bits, + grey_x_hot,grey_y_hot}, +- { file_width,file_height,file_bits,file_mask_bits, ++ { file_width,file_height,(char*)file_bits,(char*)file_mask_bits, + file_x_hot,file_y_hot}, +- { files_width,files_height,files_bits,files_mask_bits, ++ { files_width,files_height,(char*)files_bits,(char*)files_mask_bits, + files_x_hot,files_y_hot}, +- { text_width,text_height,text_bits,text_mask_bits, ++ { text_width,text_height,(char*)text_bits,(char*)text_mask_bits, + text_x_hot,text_y_hot }, +- { dir_width,dir_height,dir_bits,dir_mask_bits, ++ { dir_width,dir_height,(char*)dir_bits,(char*)dir_mask_bits, + dir_x_hot,dir_y_hot }, +- { link_width,link_height,link_bits,link_mask_bits, ++ { link_width,link_height,(char*)link_bits,(char*)link_mask_bits, + link_x_hot,link_y_hot}, +- { app_width,app_height,app_bits,app_mask_bits, ++ { app_width,app_height,(char*)app_bits,(char*)app_mask_bits, + app_x_hot,app_y_hot }, +- { url_width,url_height,url_bits,url_mask_bits, ++ { url_width,url_height,(char*)url_bits,(char*)url_mask_bits, + url_x_hot,url_y_hot }, +- { mime_width,mime_height,mime_bits,mime_mask_bits, ++ { mime_width,mime_height,(char*)mime_bits,(char*)mime_mask_bits, + mime_x_hot,mime_y_hot } + }; + diff --git a/x11-libs/dnd/metadata.xml b/x11-libs/dnd/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/x11-libs/dnd/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> |