diff options
Diffstat (limited to 'x11-libs/fox')
-rw-r--r-- | x11-libs/fox/Manifest | 13 | ||||
-rw-r--r-- | x11-libs/fox/files/fox-1.7.67-no-truetype.patch | 46 | ||||
-rw-r--r-- | x11-libs/fox/fox-1.6.49.ebuild | 41 | ||||
-rw-r--r-- | x11-libs/fox/fox-1.6.50.ebuild | 41 | ||||
-rw-r--r-- | x11-libs/fox/fox-1.6.57-r1.ebuild | 104 | ||||
-rw-r--r-- | x11-libs/fox/fox-1.7.54.ebuild | 54 | ||||
-rw-r--r-- | x11-libs/fox/fox-1.7.67.ebuild | 110 | ||||
-rw-r--r-- | x11-libs/fox/metadata.xml | 8 |
8 files changed, 273 insertions, 144 deletions
diff --git a/x11-libs/fox/Manifest b/x11-libs/fox/Manifest index 0d62b11d846b..5f8809edb28a 100644 --- a/x11-libs/fox/Manifest +++ b/x11-libs/fox/Manifest @@ -1,7 +1,6 @@ -DIST fox-1.6.49.tar.gz 4383152 BLAKE2B a3d626786086e6b46fc82ce4396bd42d060c234cedf8c182257406de4714c29aae64568bc00a3ad794848eb2faff1a904600f82e4815e9145bcfa87e09390ff2 SHA512 cd7dd5fd26bcdde6ed69d547e2b08582f0e88b66b6f1bac9b5cd2279b543edbf5b9a63cc2ed05f1a1fd7e7309ede96404cf7a5d2d8eb8763dc0fb41d613b0ee8 -DIST fox-1.6.50.tar.gz 4381855 BLAKE2B eef3bd77d6343a65adf4bcc3a59690b1d47d1e92faf81b01a347aa4fdc46053ab17d05ce4016fd147ee64b66c8e582754536c895b87d3c3e073e45435ab9d4ff SHA512 195751d223e9af7d76a3bd3192ae7566a129cfe254f0ba3035b4f7e189c68b43daa8276edad95ebf2b1b403b6212a755000eebf1716a11bb7f06845fde4aceae -DIST fox-1.7.54.tar.gz 5384000 BLAKE2B 8970872d1c626d7ac5b0f944e8ea26a29bb757e4c646116016eaa1eccc2c0328c5047438e87fb6c2deab0a65e2b34cc91e8458150329a3e574e93608694a2dec SHA512 cf14a09f9a6a812ac87839a5df8fd68f693e59050695e8da5dbfe018676f29bc263e4f9208dc06419068e4140b826a0dcf70a8925fec379edf3e4d0d0b693795 -EBUILD fox-1.6.49.ebuild 988 BLAKE2B 73126b9060f5f0ac0c6f0d652b9796ca1b5aae48fe54deff87376f72d7a4692580354baaafeab75a1bdd4e0321fe6706c0a7eef3903d567c30ccb23a4d48657f SHA512 d87115e04521cd54c4272fee7675c67a1c134a488b5e472d20705b936e717db29a99be2100609d320bc748186f571d29355f041d92a5ebae1f8c0055fe2c2230 -EBUILD fox-1.6.50.ebuild 1006 BLAKE2B e9e8735407185025950ce1a2a7abda8cd1eddf10d44628d54932074bc27dabf4cfe867aac2e256ebe84171117f1e22d5f9dc8c3843d7b699352ca76119f6bc32 SHA512 8c6bfe0160549bf03178aacc1c7fa03fef129779da132bf530b9bb31b586e3b12acf78b0e69af9be6ac8c7b80d40f74e33373ff8a5bba87c70973bb0952669de -EBUILD fox-1.7.54.ebuild 1296 BLAKE2B d5a19de333cfa6346b4e18532838c5c24295f443eddbb77810f8a7a7e55b1c59064913f828e61906e5215d5bc1d62e78b534aaca710977975e332cd6e461a3c1 SHA512 a9760a4ef8ff82d60b58592fc648ccb2de4d3c8e3ed3f1320f62eac8cae2a765a2ca7291486a32204ca6502c0345c25779c35e61c8c71afe46e62f68d4fb8785 -MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 +AUX fox-1.7.67-no-truetype.patch 1660 BLAKE2B 73e67b75b851ea5dd0fa5ccb0c2b79e1b6f829170ee9bd969612e356ad2ee78854a58e886f837edb004e840a9750a3d7c86bde53f7722cf4de117ebc375faec6 SHA512 1908bf7c1aec24e3086c431518e5c8392cb4467e953091226da088e0768993caf358180aa330a140de334cb9378fa2425732045ca64abccdea3c09f602c57760 +DIST fox-1.6.57.tar.gz 4284018 BLAKE2B 3efbc6188225f9444fbd347359e8b4041a08fe654acb99c48e4966e501a2f72a44863f2e9b60ae810a259951f89cfc27b9a8b6341e029627066712e0dbf20e40 SHA512 e7b91054a9ea674818803415284cb61572935d22466e446cb37ef68344e2684e8acd567f7c8a6912f939dcbcc37455119ad6a01ac30513f460d0b3937b7e6087 +DIST fox-1.7.67.tar.gz 5689421 BLAKE2B 60f2d8e887a41f1e234cd31c1bd2702bcedae0f1b47cb7b9832c317e34a9b517cb603033d28e5ed66c4b97c85deaf3caa8dd40a508eaf715d63772e6ef0020b0 SHA512 a45db7ea9453e2afe0ff61ed6608925e94f9202dc1fbee5e2b88a5a1c16310019cb4611090f8234ad6ebc46a6519a36085683c4553d47bc9c21b8ef0c13ab540 +EBUILD fox-1.6.57-r1.ebuild 2517 BLAKE2B 262d0c514bbd6620b3fff9b9895014016fe38ff19a693d544971ad12e0b36dc6c49b1a3956d4fedfb5c91b16fea3f4f30d096844abd15bee7c92037d9cc2b450 SHA512 af4d7cc85a107f6b9d1f657edb2066f6b834fcf61bbc17358174306b458b720360bf268c4fe33ecf925ae63928f25d87a1778e348d227a3c3a4b792f5f60860a +EBUILD fox-1.7.67.ebuild 2736 BLAKE2B fb890e94596bd3284229108b0d2e28ff2806a2fbdd7bea4054c1257bd3286fa34fa6076dffd48c2a74b4f76eb719298e367bf0df0d716cdbda8400a66a5cbf6f SHA512 975651b80cc72854d6ccdcfdff17228460590afcd54664b9c886b6eb5384b98e5eaaaf0ae62e1176722bf922c6ae8e81da3eb7eeecdd4f4dad09cd8b11f6481b +MISC metadata.xml 352 BLAKE2B 92d42784403554fc3a6dc83627054123a5c717a1145ceb519715ed8b1644ade846b5e497fda557db631a0f6926eef23941597f09e1b272030d040422c1a91dba SHA512 adca24f9753e5f22122994f96ea42f9c11fc60b72d7e93386cfe168ba3ee36b226725c847974772cede33d576658849a3af5a2f7ea3fdca4092afe2eae893b34 diff --git a/x11-libs/fox/files/fox-1.7.67-no-truetype.patch b/x11-libs/fox/files/fox-1.7.67-no-truetype.patch new file mode 100644 index 000000000000..6f91d9746a1e --- /dev/null +++ b/x11-libs/fox/files/fox-1.7.67-no-truetype.patch @@ -0,0 +1,46 @@ +diff -ru fox-1.7.67/lib/FXFont.cpp /var/tmp/portage/x11-libs/fox-1.7.67/work/fox-1.7.67/lib/FXFont.cpp +--- fox-1.7.67/lib/FXFont.cpp 2019-05-08 05:21:21.000000000 +0200 ++++ /var/tmp/portage/x11-libs/fox-1.7.67/work/fox-1.7.67/lib/FXFont.cpp 2019-12-16 22:19:32.510138232 +0100 +@@ -829,26 +829,26 @@ + + // Weight + if(wantweight){ +- dweight=Math::iabs(weight-wantweight); ++ dweight=Math::iabs((FXint)(weight-wantweight)); + } + else{ +- dweight=Math::iabs(weight-FXFont::Normal); ++ dweight=Math::iabs((FXint)(weight-FXFont::Normal)); + } + + // Slant + if(wantslant){ +- dslant=Math::iabs(slant-wantslant); ++ dslant=Math::iabs((FXint)(slant-wantslant)); + } + else{ +- dslant=Math::iabs(slant-FXFont::Straight); ++ dslant=Math::iabs((FXint)(slant-FXFont::Straight)); + } + + // Set width + if(wantsetwidth){ +- dsetwidth=Math::iabs(setwidth-wantsetwidth); ++ dsetwidth=Math::iabs((FXint)(setwidth-wantsetwidth)); + } + else{ +- dsetwidth=Math::iabs(setwidth-FXFont::NonExpanded); ++ dsetwidth=Math::iabs((FXint)(setwidth-FXFont::NonExpanded)); + } + + // Pitch +@@ -900,7 +900,7 @@ + // should be multiplied by (100/90). + else{ + size=(yres*points)/res; +- dsize=Math::iabs(size-wantsize); ++ dsize=Math::iabs((FXint)(size-wantsize)); + } + + FXTRACE((160,"%4d: dweight=%-3d dsize=%3d dslant=%d dsetwidth=%d dscalable=%d dpolymorph=%d xres=%-3d yres=%-3d xlfd=\"%s\"\n",f,dweight,dsize,dslant,dsetwidth,dscalable,dpolymorph,xres,yres,fontnames[f])); + diff --git a/x11-libs/fox/fox-1.6.49.ebuild b/x11-libs/fox/fox-1.6.49.ebuild deleted file mode 100644 index ef0f71f8e066..000000000000 --- a/x11-libs/fox/fox-1.6.49.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils fox - -LICENSE="LGPL-2.1" -SLOT="1.6" -KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib" - -RDEPEND="x11-libs/libXrandr - x11-libs/libXcursor - x11-libs/fox-wrapper - bzip2? ( >=app-arch/bzip2-1.0.2 ) - jpeg? ( virtual/jpeg ) - opengl? ( virtual/glu virtual/opengl ) - png? ( >=media-libs/libpng-1.2.5 ) - tiff? ( >=media-libs/tiff-3.5.7 ) - truetype? ( =media-libs/freetype-2* - x11-libs/libXft ) - zlib? ( >=sys-libs/zlib-1.1.4 )" -DEPEND="${RDEPEND} - x11-base/xorg-proto - x11-libs/libXt" - -src_prepare() { - sed -i -e 's/-lXft/-lXft -lfontconfig/' "${S}/configure.ac" - fox_src_prepare -} - -src_configure() { - FOXCONF="$(use_enable bzip2 bz2lib) \ - $(use_enable jpeg) \ - $(use_with opengl) \ - $(use_enable png) \ - $(use_enable tiff) \ - $(use_with truetype xft) \ - $(use_enable zlib)" fox_src_configure -} diff --git a/x11-libs/fox/fox-1.6.50.ebuild b/x11-libs/fox/fox-1.6.50.ebuild deleted file mode 100644 index 330f85c8a759..000000000000 --- a/x11-libs/fox/fox-1.6.50.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils fox - -LICENSE="LGPL-2.1" -SLOT="1.6" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib" - -RDEPEND="x11-libs/libXrandr - x11-libs/libXcursor - x11-libs/fox-wrapper - bzip2? ( >=app-arch/bzip2-1.0.2 ) - jpeg? ( virtual/jpeg:= ) - opengl? ( virtual/glu virtual/opengl ) - png? ( >=media-libs/libpng-1.2.5:0= ) - tiff? ( >=media-libs/tiff-3.5.7:0= ) - truetype? ( =media-libs/freetype-2* - x11-libs/libXft ) - zlib? ( >=sys-libs/zlib-1.1.4 )" -DEPEND="${RDEPEND} - x11-base/xorg-proto - x11-libs/libXt" - -src_prepare() { - sed -i -e 's/-lXft/-lXft -lfontconfig/' "${S}/configure.ac" - fox_src_prepare -} - -src_configure() { - FOXCONF="$(use_enable bzip2 bz2lib) \ - $(use_enable jpeg) \ - $(use_with opengl) \ - $(use_enable png) \ - $(use_enable tiff) \ - $(use_with truetype xft) \ - $(use_enable zlib)" fox_src_configure -} diff --git a/x11-libs/fox/fox-1.6.57-r1.ebuild b/x11-libs/fox/fox-1.6.57-r1.ebuild new file mode 100644 index 000000000000..3b8d8ad7645b --- /dev/null +++ b/x11-libs/fox/fox-1.6.57-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and effectively" +HOMEPAGE="http://www.fox-toolkit.org/" +SRC_URI="ftp://ftp.fox-toolkit.org/pub/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="1.6" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile" + +RDEPEND=" + x11-libs/fox-wrapper + x11-libs/libXcursor + x11-libs/libXrandr + bzip2? ( app-arch/bzip2 ) + jpeg? ( virtual/jpeg ) + opengl? ( virtual/glu virtual/opengl ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= ) + truetype? ( + media-libs/freetype:2 + x11-libs/libXft + ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/libXt" +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + default + + local d + for d in utils windows adie calculator pathfinder shutterbug; do + sed -i -e "s:${d}::" Makefile.am || die + done + + # Respect system CXXFLAGS + sed -i -e 's:CXXFLAGS=""::' configure.ac || die "Unable to force cxxflags." + + # don't strip binaries + sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' configure.ac || die "Unable to prevent stripping." + + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --enable-$(usex debug debug release) \ + $(use_enable bzip2 bz2lib) \ + $(use_enable jpeg) \ + $(use_with opengl) \ + $(use_enable png) \ + $(use_enable tiff) \ + $(use_with truetype xft) \ + $(use_enable zlib) \ + $(use_with profile profiling) +} + +src_compile() { + emake + use doc && emake -C doc docs +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + artdir="${EPREFIX}"/usr/share/doc/${PF}/html/art \ + screenshotsdir="${EPREFIX}"/usr/share/doc/${PF}/html/screenshots + + local CP="${ED}"/usr/bin/ControlPanel + if [[ -f ${CP} ]]; then + mv "${CP}" "${ED}"/usr/bin/fox-ControlPanel-${SLOT} || \ + die "Failed to install ControlPanel" + fi + + dodoc ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING + + if use doc; then + # install class reference docs if USE=doc + docinto html + dodoc -r doc/ref + else + # remove documentation if USE=-doc + rm -rf "${ED}"/usr/share/doc/${PF}/html || die + fi + + # slot fox-config + if [[ -f ${ED}/usr/bin/fox-config ]] ; then + mv "${ED}"/usr/bin/fox-config "${ED}"/usr/bin/fox-${SLOT}-config \ + || die "failed to install fox-config" + fi + + # no static archives + find "${D}" -name '*.la' -delete || die +} diff --git a/x11-libs/fox/fox-1.7.54.ebuild b/x11-libs/fox/fox-1.7.54.ebuild deleted file mode 100644 index 1d22508a8b86..000000000000 --- a/x11-libs/fox/fox-1.7.54.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit fox - -LICENSE="LGPL-2.1" -SLOT="1.7" -KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sparc x86" -IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib" - -# newish autoconf needed for working mmap check -RDEPEND="x11-libs/libXrandr - x11-libs/libXcursor - x11-libs/fox-wrapper - >=sys-devel/autoconf-2.67 - bzip2? ( app-arch/bzip2 ) - jpeg? ( virtual/jpeg:= ) - opengl? ( virtual/glu virtual/opengl ) - png? ( media-libs/libpng:0= ) - tiff? ( media-libs/tiff:0= ) - truetype? ( media-libs/freetype:2 - x11-libs/libXft ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - x11-base/xorg-proto - x11-libs/libXt" - -src_configure() { - FOXCONF="$(use_enable bzip2 bz2lib) \ - $(use_enable jpeg) \ - $(use_with opengl) \ - $(use_enable png) \ - $(use_enable tiff) \ - $(use_with truetype xft) \ - $(use_enable zlib)" fox_src_configure -} - -src_install() { - fox_src_install - CP="${ED}/usr/bin/ControlPanel" - if [[ -f ${CP} ]] ; then - mv "${CP}" "${ED}/usr/bin/fox-ControlPanel-${SLOT}" || \ - die "Failed to install ControlPanel" - fi -} - -pkg_postinst() { - fox_pkg_postinst - - einfo "ControlPanel has been installed to 'fox-ControlPanel-${SLOT}' to avoid conflicts" - einfo "with other packages." -} diff --git a/x11-libs/fox/fox-1.7.67.ebuild b/x11-libs/fox/fox-1.7.67.ebuild new file mode 100644 index 000000000000..46ddd5fdb5e2 --- /dev/null +++ b/x11-libs/fox/fox-1.7.67.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and effectively" +HOMEPAGE="http://www.fox-toolkit.org/" +SRC_URI="ftp://ftp.fox-toolkit.org/pub/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="1.7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile tools" + +RDEPEND=" + x11-libs/fox-wrapper + x11-libs/libXcursor + x11-libs/libXrandr + bzip2? ( app-arch/bzip2 ) + jpeg? ( virtual/jpeg ) + opengl? ( virtual/glu virtual/opengl ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= ) + truetype? ( + media-libs/freetype:2 + x11-libs/libXft + ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/libXt" +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}"/"${PN}"-1.7.67-no-truetype.patch ) + +src_prepare() { + default + + sed -i '/#define REXDEBUG 1/d' lib/FXRex.cpp || die "Unable to remove spurious debug line." + sed -i -e "s:windows::" Makefile.am || die + if ! use tools; then + local d + for d in adie calculator pathfinder shutterbug; do + sed -i -e "s:${d}::" Makefile.am || die + done + fi + + # Respect system CXXFLAGS + sed -i -e 's:CXXFLAGS=""::' configure.ac || die "Unable to force cxxflags." + + # don't strip binaries + sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' configure.ac || die "Unable to prevent stripping." + + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --enable-$(usex debug debug release) \ + $(use_enable bzip2 bz2lib) \ + $(use_enable jpeg) \ + $(use_with opengl) \ + $(use_enable png) \ + $(use_enable tiff) \ + $(use_with truetype xft) \ + $(use_enable zlib) \ + $(use_with profile profiling) +} + +src_compile() { + emake + use doc && emake -C doc docs +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + artdir="${EPREFIX}"/usr/share/doc/${PF}/html/art \ + screenshotsdir="${EPREFIX}"/usr/share/doc/${PF}/html/screenshots + + local CP="${ED}"/usr/bin/ControlPanel + if [[ -f ${CP} ]]; then + mv "${CP}" "${ED}"/usr/bin/fox-ControlPanel-${SLOT} || \ + die "Failed to install ControlPanel" + fi + + dodoc ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING + + if use doc; then + # install class reference docs if USE=doc + docinto html + dodoc -r doc/ref + else + # remove documentation if USE=-doc + rm -rf "${ED}"/usr/share/doc/${PF}/html || die + fi + + # slot fox-config + if [[ -f ${ED}/usr/bin/fox-config ]] ; then + mv "${ED}"/usr/bin/fox-config "${ED}"/usr/bin/fox-${SLOT}-config \ + || die "failed to install fox-config" + fi + + # no static archives + find "${D}" -name '*.la' -delete || die +} diff --git a/x11-libs/fox/metadata.xml b/x11-libs/fox/metadata.xml index 7a38bb900964..a0084d6b4b7c 100644 --- a/x11-libs/fox/metadata.xml +++ b/x11-libs/fox/metadata.xml @@ -1,5 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>zx2c4@gentoo.org</email> + <name>Jason A. Donenfeld</name> + </maintainer> + <use> + <flag name="tools">Install adie, calculator, shutterbug, and pathfinder apps.</flag> + </use> </pkgmetadata> |