parent
e0d72ef521
commit
32c425d00a
@ -0,0 +1,73 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Wed Dec 26 19:46:44 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags, add LDFLAGS to linker line
|
||||
fix install rules
|
||||
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -15,13 +15,15 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
|
||||
RPM_BUILD_ROOT=
|
||||
|
||||
# PREFIX is usually either /usr or /usr/local
|
||||
PREFIX=/usr/local
|
||||
+BINDIR=$(PREFIX)/sbin
|
||||
+ETCDIR=/etc
|
||||
TARGET=linux
|
||||
|
||||
|
||||
@@ -32,8 +34,8 @@
|
||||
VERSION=1.1
|
||||
|
||||
#CFLAGS= -I../include/ -O3 -Wimplicit
|
||||
-CFLAGS= -I../include/ -g -Wimplicit -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\"
|
||||
-LINK = gcc
|
||||
+CFLAGS += -Wimplicit
|
||||
+CPPFLAGS = -I../include/ -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\"
|
||||
AG = /home3/sdh4/anagram/ag_unix_dev/ag
|
||||
|
||||
|
||||
@@ -55,20 +57,15 @@
|
||||
(cd .. ; tar cvzf verynice-$(VERSION).tar.gz verynice/ )
|
||||
|
||||
install:
|
||||
- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/sbin
|
||||
- $(INSTALL) verynice $(RPM_BUILD_ROOT)$(PREFIX)/sbin
|
||||
- if [ $(PREFIX) = "/usr" ]; then \
|
||||
- mv -f $(RPM_BUILD_ROOT)/etc/verynice.conf $(RPM_BUILD_ROOT)/etc/verynice.conf~ ; \
|
||||
- $(INSTALL) verynice.conf $(RPM_BUILD_ROOT)/etc ; \
|
||||
- else \
|
||||
- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \
|
||||
- mv -f $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf~ ; \
|
||||
- $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \
|
||||
- fi
|
||||
+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(BINDIR)
|
||||
+ $(INSTALL) verynice $(RPM_BUILD_ROOT)$(BINDIR)
|
||||
+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(ETCDIR)
|
||||
+ $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(ETCDIR)
|
||||
$(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share
|
||||
$(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc
|
||||
$(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
|
||||
- $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
|
||||
+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html
|
||||
+ $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html
|
||||
$(INSTALL) -m 644 README $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
|
||||
$(INSTALL) -m 644 README.SYN $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
|
||||
$(INSTALL) -m 644 COPYING $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
|
||||
@@ -95,7 +92,7 @@
|
||||
$(AG) $*
|
||||
|
||||
verynice: verynice.o config.o linklist.o stringstack.o
|
||||
- $(LINK) -g -o $@ $^ -lm
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm
|
||||
|
||||
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1-r1.ebuild,v 1.1 2012/12/26 20:38:24 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
|
||||
HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/"
|
||||
SRC_URI="http://thermal.cnde.iastate.edu/~sdh4/verynice/down/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr
|
||||
}
|
||||
|
||||
src_install(){
|
||||
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install
|
||||
doinitd "${FILESDIR}"/verynice
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
diff --git a/Ganeti/HTools/CLI.hs b/Ganeti/HTools/CLI.hs
|
||||
index b000a00..d9177c6 100644
|
||||
--- a/Ganeti/HTools/CLI.hs
|
||||
+++ b/Ganeti/HTools/CLI.hs
|
||||
@@ -74,11 +74,11 @@ module Ganeti.HTools.CLI
|
||||
|
||||
import Data.Maybe (fromMaybe)
|
||||
import qualified Data.Version
|
||||
-import Monad
|
||||
+import Control.Monad
|
||||
import System.Console.GetOpt
|
||||
import System.IO
|
||||
import System.Info
|
||||
-import System
|
||||
+import System.Exit
|
||||
import Text.Printf (printf)
|
||||
|
||||
import qualified Ganeti.HTools.Version as Version(version)
|
||||
diff --git a/Ganeti/HTools/ExtLoader.hs b/Ganeti/HTools/ExtLoader.hs
|
||||
index 0412c1b..17b8449 100644
|
||||
--- a/Ganeti/HTools/ExtLoader.hs
|
||||
+++ b/Ganeti/HTools/ExtLoader.hs
|
||||
@@ -36,10 +36,11 @@ module Ganeti.HTools.ExtLoader
|
||||
) where
|
||||
|
||||
import Data.Maybe (isJust, fromJust)
|
||||
-import Monad
|
||||
+import Control.Monad
|
||||
+import qualified Control.Exception as E
|
||||
import System.FilePath
|
||||
import System.IO
|
||||
-import System
|
||||
+import System.Exit
|
||||
import Text.Printf (printf, hPrintf)
|
||||
|
||||
import qualified Ganeti.HTools.Luxi as Luxi
|
||||
@@ -56,8 +57,8 @@ import Ganeti.HTools.CLI
|
||||
import Ganeti.HTools.Utils (sepSplit, tryRead)
|
||||
|
||||
-- | Error beautifier
|
||||
-wrapIO :: IO (Result a) -> IO (Result a)
|
||||
-wrapIO = flip catch (return . Bad . show)
|
||||
+wrapIO :: (Show a) => IO (Result a) -> IO (Result a)
|
||||
+wrapIO = flip (E.catch :: IO a -> (E.IOException -> IO a) -> IO a) (return . Bad . show )
|
||||
|
||||
parseUtilisation :: String -> Result (String, DynUtil)
|
||||
parseUtilisation line =
|
||||
diff --git a/hail.hs b/hail.hs
|
||||
index 541e1a9..68f4488 100644
|
||||
--- a/hail.hs
|
||||
+++ b/hail.hs
|
||||
@@ -27,10 +27,10 @@ module Main (main) where
|
||||
|
||||
import Data.List
|
||||
import Data.Maybe (isJust, fromJust)
|
||||
-import Monad
|
||||
-import System (exitWith, ExitCode(..))
|
||||
+import Control.Monad
|
||||
+import System.Environment
|
||||
+import System.Exit
|
||||
import System.IO
|
||||
-import qualified System
|
||||
|
||||
import qualified Ganeti.HTools.Cluster as Cluster
|
||||
|
||||
@@ -99,7 +99,7 @@ readRequest opts args = do
|
||||
-- | Main function.
|
||||
main :: IO ()
|
||||
main = do
|
||||
- cmd_args <- System.getArgs
|
||||
+ cmd_args <- getArgs
|
||||
(opts, args) <- parseOpts cmd_args "hail" options
|
||||
|
||||
let shownodes = optShowNodes opts
|
||||
diff --git a/hbal.hs b/hbal.hs
|
||||
index 46cccf8..0254008 100644
|
||||
--- a/hbal.hs
|
||||
+++ b/hbal.hs
|
||||
@@ -30,12 +30,12 @@ import Control.Exception (bracket)
|
||||
import Data.List
|
||||
import Data.Maybe (isJust, isNothing, fromJust)
|
||||
import Data.IORef
|
||||
-import Monad
|
||||
-import System (exitWith, ExitCode(..))
|
||||
+import Control.Monad
|
||||
import System.IO
|
||||
+import System.Exit
|
||||
import System.Posix.Process
|
||||
import System.Posix.Signals
|
||||
-import qualified System
|
||||
+import System.Environment
|
||||
|
||||
import Text.Printf (printf, hPrintf)
|
||||
|
||||
@@ -223,7 +223,7 @@ runJobSet master fin_nl il cmd_jobs = do
|
||||
-- | Main function.
|
||||
main :: IO ()
|
||||
main = do
|
||||
- cmd_args <- System.getArgs
|
||||
+ cmd_args <- getArgs
|
||||
(opts, args) <- parseOpts cmd_args "hbal" options
|
||||
|
||||
unless (null args) $ do
|
||||
diff --git a/hscan.hs b/hscan.hs
|
||||
index c14846f..d613f83 100644
|
||||
--- a/hscan.hs
|
||||
+++ b/hscan.hs
|
||||
@@ -28,11 +28,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
module Main (main) where
|
||||
|
||||
import Data.Maybe (isJust, fromJust, fromMaybe)
|
||||
-import Monad
|
||||
-import System (exitWith, ExitCode(..))
|
||||
+import Control.Monad
|
||||
+import System.Environment
|
||||
+import System.Exit
|
||||
import System.IO
|
||||
import System.FilePath
|
||||
-import qualified System
|
||||
|
||||
import Text.Printf (printf)
|
||||
|
||||
@@ -135,7 +135,7 @@ writeDataInner nlen name opts cdata fixdata = do
|
||||
-- | Main function.
|
||||
main :: IO ()
|
||||
main = do
|
||||
- cmd_args <- System.getArgs
|
||||
+ cmd_args <- getArgs
|
||||
(opts, clusters) <- parseOpts cmd_args "hscan" options
|
||||
let local = "LOCAL"
|
||||
|
||||
diff --git a/hspace.hs b/hspace.hs
|
||||
index 57d0302..f207c67 100644
|
||||
--- a/hspace.hs
|
||||
+++ b/hspace.hs
|
||||
@@ -29,10 +29,10 @@ import Data.Char (toUpper, isAlphaNum)
|
||||
import Data.List
|
||||
import Data.Maybe (isJust, fromJust)
|
||||
import Data.Ord (comparing)
|
||||
-import Monad
|
||||
-import System (exitWith, ExitCode(..))
|
||||
+import Control.Monad
|
||||
+import System.Exit
|
||||
+import System.Environment
|
||||
import System.IO
|
||||
-import qualified System
|
||||
|
||||
import Text.Printf (printf, hPrintf)
|
||||
|
||||
@@ -207,7 +207,7 @@ printAllocationMap verbose msg nl ixes =
|
||||
-- | Main function.
|
||||
main :: IO ()
|
||||
main = do
|
||||
- cmd_args <- System.getArgs
|
||||
+ cmd_args <- getArgs
|
||||
(opts, args) <- parseOpts cmd_args "hspace" options
|
||||
|
||||
unless (null args) $ do
|
||||
diff --git a/test.hs b/test.hs
|
||||
index 12aa50d..81838eb 100644
|
||||
--- a/test.hs
|
||||
+++ b/test.hs
|
||||
@@ -29,7 +29,7 @@ import Data.IORef
|
||||
import Test.QuickCheck.Batch
|
||||
import System.IO
|
||||
import System.Exit
|
||||
-import System (getArgs)
|
||||
+import System.Environment (getArgs)
|
||||
|
||||
import Ganeti.HTools.QC
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.7.7-r2.ebuild,v 1.1 2012/12/26 15:09:14 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
else
|
||||
EGIT_REPO_URI="git://anongit.kde.org/strigi"
|
||||
GIT_ECLASS="git-2"
|
||||
EGIT_HAS_SUBMODULES="true"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
inherit cmake-utils ${GIT_ECLASS}
|
||||
|
||||
DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kdesupport/strigi/strigi"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +qt4 test"
|
||||
|
||||
COMMONDEPEND="
|
||||
app-arch/bzip2:0
|
||||
dev-libs/libxml2:2
|
||||
sys-libs/zlib:0
|
||||
virtual/libiconv
|
||||
clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
qt4? ( x11-libs/qt-dbus:4 )
|
||||
)
|
||||
exif? ( >=media-gfx/exiv2-0.17 )
|
||||
fam? ( virtual/fam )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
hyperestraier? ( app-text/hyperestraier )
|
||||
log? ( >=dev-libs/log4cxx-0.10.0 )
|
||||
qt4? (
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-libs/boost
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND=${COMMONDEPEND}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc47.patch"
|
||||
"${FILESDIR}/${P}-ffmpeg-0.11.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Enabled: POLLING (only reliable way to check for files changed.)
|
||||
# Disabled: xine - recommended upstream to keep it this way
|
||||
mycmakeargs=(
|
||||
-DENABLE_POLLING=ON
|
||||
-DFORCE_DEPS=ON
|
||||
-DENABLE_CPPUNIT=OFF
|
||||
-DENABLE_REGENERATEXSD=OFF
|
||||
-DENABLE_XINE=OFF
|
||||
$(cmake-utils_use_enable clucene CLUCENE)
|
||||
$(cmake-utils_use_enable clucene CLUCENE_NG)
|
||||
$(cmake-utils_use_enable dbus)
|
||||
$(cmake-utils_use_enable exif EXIV2)
|
||||
$(cmake-utils_use_enable fam)
|
||||
$(cmake-utils_use_enable ffmpeg)
|
||||
$(cmake-utils_use_enable hyperestraier)
|
||||
$(cmake-utils_use_enable inotify)
|
||||
$(cmake-utils_use_enable log LOG4CXX)
|
||||
$(cmake-utils_use_enable qt4)
|
||||
$(cmake-utils_use_enable test CPPUNIT)
|
||||
)
|
||||
|
||||
if use qt4; then
|
||||
mycmakeargs+=(-DENABLE_DBUS=ON)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use clucene && ! use hyperestraier; then
|
||||
echo
|
||||
elog "Because you didn't enable either of the available backends:"
|
||||
elog "clucene or hyperestraier, strigi may not be functional."
|
||||
elog "If you intend to use standalone strigi indexer (not needed for KDE),"
|
||||
elog "be sure to reinstall app-misc/strigi with either clucene (recommended)"
|
||||
elog "or hyperestraier (unreliable) USE flag enabled."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,12 +0,0 @@
|
||||
Tue Aug 2 12:16:38 EEST 2011 Sergei Trofimovich <slyfox@community.haskell.org>
|
||||
* doc: make happy.1 be buildabale with doc/configure
|
||||
diff -rN -u old-happy/doc/configure.ac new-happy/doc/configure.ac
|
||||
--- old-happy/doc/configure.ac 2011-08-02 12:24:20.913926740 +0300
|
||||
+++ new-happy/doc/configure.ac 2011-08-02 12:24:20.923926615 +0300
|
||||
@@ -9,5 +9,5 @@
|
||||
|
||||
AC_PATH_PROG(DbLatexCmd,dblatex)
|
||||
|
||||
-AC_CONFIG_FILES([config.mk])
|
||||
+AC_CONFIG_FILES([config.mk happy.1])
|
||||
AC_OUTPUT
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.18.2.ebuild,v 1.8 2012/09/14 07:06:28 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
CABAL_MIN_VERSION=1.2
|
||||
inherit haskell-cabal autotools
|
||||
|
||||
DESCRIPTION="A yacc-like parser generator for Haskell"
|
||||
HOMEPAGE="http://haskell.org/happy/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.4
|
||||
dev-haskell/mtl
|
||||
doc? ( ~app-text/docbook-xml-dtd-4.2
|
||||
app-text/docbook-xsl-stylesheets )"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}/doc" && eautoconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cabal_src_compile
|
||||
if use doc; then
|
||||
cd doc
|
||||
econf || die "econf failed in /doc"
|
||||
emake -j1 || die "emake failed in /doc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
use doc && cd doc && dohtml -r happy/*
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.18.4.ebuild,v 1.6 2012/09/14 07:06:28 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal autotools
|
||||
|
||||
# we bundle mtl as we want fewer dependencies for haddock, which require happy
|
||||
# mtl needs haddock to be compiled with USE=doc
|
||||
MTL_PN="mtl"
|
||||
MTL_PV="1.1.0.2"
|
||||
MTL_P="${MTL_PN}-${MTL_PV}"
|
||||
|
||||
DESCRIPTION="Happy is a parser generator for Haskell"
|
||||
HOMEPAGE="http://www.haskell.org/happy/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz
|
||||
mirror://hackage/packages/archive/${MTL_PN}/${MTL_PV}/${MTL_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.2.3
|
||||
doc? ( ~app-text/docbook-xml-dtd-4.2
|
||||
app-text/docbook-xsl-stylesheets )"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}/doc" && eautoconf
|
||||
|
||||
# change happy.cabal to use bundled mtl
|
||||
# remove dep on mtl, add path
|
||||
sed -e "s|, mtl >= 1.0||" \
|
||||
-e "s|hs-source-dirs: src|hs-source-dirs: src, ../mtl-1.1.0.2|" \
|
||||
-i "${S}/${PN}.cabal"
|
||||
# compile happy with the extensions mtl uses (safe?)
|
||||
# this gives repoman whitespace warnings, ignore them
|
||||
cat >> "${S}/${PN}.cabal" << EOF
|
||||
extensions: MultiParamTypeClasses,
|
||||
FunctionalDependencies,
|
||||
FlexibleInstances,
|
||||
TypeSynonymInstances
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cabal_src_compile
|
||||
if use doc; then
|
||||
cd doc
|
||||
econf || die "econf failed in /doc"
|
||||
emake -j1 || die "emake failed in /doc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
use doc && cd doc && dohtml -r happy/*
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.18.6.ebuild,v 1.3 2012/09/14 07:06:28 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.9
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit base haskell-cabal autotools
|
||||
|
||||
DESCRIPTION="Happy is a parser generator for Haskell"
|
||||
HOMEPAGE="http://www.haskell.org/happy/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2.3
|
||||
>=dev-haskell/mtl-1.0
|
||||
>=dev-lang/ghc-6.8.2
|
||||
dev-lang/perl
|
||||
doc? ( ~app-text/docbook-xml-dtd-4.2
|
||||
app-text/docbook-xsl-stylesheets )"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-1.18.6-man.patch"
|
||||
"${FILESDIR}/${PN}-1.18.6-missing-tests.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
use doc && cd doc && eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure
|
||||
|
||||
if use doc; then
|
||||
cd doc && econf || die "econf failed in /doc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cabal_src_compile
|
||||
|
||||
if use doc; then
|
||||
cd doc && emake -j1 || die "emake failed in /doc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C "${S}/tests/" || die "emake for tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
if use doc; then
|
||||
cd doc
|
||||
dohtml -r happy/*
|
||||
doman "${S}/doc/happy.1"
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST wxc-0.90.0.4.tar.gz 181799 SHA256 e69e4870c33dc32ee388c5f1be5b0ad1f2b231aa16a51da205cfa295430402ae SHA512 4dd3846465a3c43c507a8b76e3929736b1e0ed0941201803f2209cb2ce347cddda9fd725796c6a7d306209324a9201c91d36ee9808c694c9110ab393d80f5c97 WHIRLPOOL ddebc3f800f15249185e7d0d6b207fd7576e70037792cbb164568c3a960a7cee96518eb6099ffbd2c06319b04c10e4f684b5c376388d39d648afd614806ab6e5
|
@ -0,0 +1,11 @@
|
||||
--- wxc-0.90.0.4-orig/src/cpp/eljpen.cpp 2012-07-03 20:12:17.000000000 +1000
|
||||
+++ wxc-0.90.0.4/src/cpp/eljpen.cpp 2012-08-18 11:37:00.625281748 +1000
|
||||
@@ -156,7 +156,7 @@
|
||||
EWXWEXPORT(void,wxPen_GetStipple)(void* self,wxBitmap* _ref)
|
||||
{
|
||||
#if defined(__WXGTK__)
|
||||
- *_ref = NULL;
|
||||
+ *_ref = wxBitmap();
|
||||
#else
|
||||
*_ref = *(((wxPen*)self)->GetStipple());
|
||||
#endif
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
wxHaskell is a portable and native GUI library for Haskell. It is
|
||||
built on top of wxWidgets, a comprehensive C++ library that is
|
||||
portable across all major GUI platforms, including GTK, Windows,
|
||||
X11, and MacOS X. This version works with wxWidgets 2.9 only.
|
||||
Distributed under the WXWINDOWS LIBRARY LICENSE. Please see
|
||||
LICENSE file, but note that this is essentially LGPL with an
|
||||
exception allowing binary distribution of proprietary software.
|
||||
This is the same license as wxWidgets itself uses.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/wxc-0.90.0.4.ebuild,v 1.1 2012/12/27 02:21:09 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
WX_GTK_VER="2.9"
|
||||
|
||||
CABAL_FEATURES="lib profile"
|
||||
inherit base haskell-cabal multilib versionator wxwidgets
|
||||
|
||||
DESCRIPTION="wxHaskell C++ wrapper"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="opengl"
|
||||
|
||||
RDEPEND=">=dev-haskell/wxdirect-0.90:${WX_GTK_VER}=[profile?]
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.90.0.4-wxGTK-2.9.4.1.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \
|
||||
-i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cgcc=()
|
||||
for i in ${CXXFLAGS}
|
||||
do
|
||||
cgcc+=( --gcc-option="${i}" )
|
||||
done
|
||||
# Trying to specify the LDFLAGS in --ld-option does not work, as ld does
|
||||
# not understand ld options prefixed with -Wl,
|
||||
# The linker that is used to link the libwxc.so shared library is hard coded
|
||||
# in Setup.hs. So the --with-ld would not change the linker used when
|
||||
# linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes
|
||||
# ld options like -x to gcc which then returns a non-zero exit status, then
|
||||
# cabal ignores all the --ld-option parameters.
|
||||
# So I place all the LDFLAGS in --gcc-option parameters. They are ignored
|
||||
# when building .o files.
|
||||
local cld=()
|
||||
for i in ${LDFLAGS}
|
||||
do
|
||||
cld+=( --gcc-option="${i}" )
|
||||
done
|
||||
cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
dolib.so dist/build/lib${PN}.so.${PV}
|
||||
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_version_component_range 1-2)
|
||||
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
|
||||
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wxcore-0.12.1.6.tar.gz 553123 SHA256 5795fe0fefaa582ff01eaefaa7814546c0fedbf9bb1ea4e0d79ab76fd13f5598 SHA512 62c1e55250e146787794f8e5bfe598f1ada615dcbb89c0654447c8d92ccc34b9d6f81c12759f09813c4efb85260adc40a23e63f1c4ebb2db8b843e1a8b4a90b7 WHIRLPOOL 9ad1cda6cd07b8a74b870fb60126ea5377f839adbb76221441bf6ee88ee73150422e488618e99ef0bfe5870abf1a4e1f01f9a7fcb404abee8d5bb1c1bded3a78
|
||||
DIST wxcore-0.13.2.1.tar.gz 539205 SHA256 26a615a594f3733d79205dafd5e3e00649284c6b5a3dcd35b4db5fc1fb4e0d5c SHA512 53a48f503f2ac824963e82aed920218835bdb67531386415c1bdb6c2b34f421474eb8494222869d5dd5b1c45599832ab79500e05ccfbe37f0f0b2ea3a0292fa4 WHIRLPOOL 5f40753e30b7a4ebdb50f4ac713550a532d652ee2ef3dfb86411a97627f6f781d2c3180dcfd30a7d39e338592974dcead1dab54530fde040bc3267e0b23d0ecf
|
||||
DIST wxcore-0.90.0.3.tar.gz 354646 SHA256 bcc6530a8c087248ab9404fc370e0fd8556d9d05c318780a1ff2a7cf4c86e934 SHA512 b9164b08720c21f2c256ff2b5cb4904a2f3e3342830472fac0c6cb66087972b913b9738ed759f9f24dd75a63a8360c79861478ac62b1ba158e3dffda977c0c0c WHIRLPOOL abda6d125c844797a657d116771db5d24d429b008f1b14c448299eb25536ed30bd8ae6662db59b77eea33bbe1750d3fc3876506d749ebbc2a8688e47f2de9ddd
|
||||
|
@ -0,0 +1,53 @@
|
||||
--- wxcore-0.13.2.1-orig/wxcore.cabal 2012-02-07 18:27:09.000000000 +1100
|
||||
+++ wxcore-0.13.2.1/wxcore.cabal 2012-11-29 17:21:49.458155692 +1100
|
||||
@@ -209,7 +209,7 @@
|
||||
build-depends:
|
||||
array >= 0.2 && < 0.5,
|
||||
base >= 4 && < 5,
|
||||
- containers >= 0.2 && < 0.5
|
||||
+ containers >= 0.2 && < 0.6
|
||||
else
|
||||
build-depends:
|
||||
array >= 0.1 && < 0.3,
|
||||
--- wxcore-0.13.2.1-orig/src/haskell/Graphics/UI/WXCore/Events.hs 2012-02-07 18:27:09.000000000 +1100
|
||||
+++ wxcore-0.13.2.1/src/haskell/Graphics/UI/WXCore/Events.hs 2012-11-29 17:21:49.458155692 +1100
|
||||
@@ -1,4 +1,4 @@
|
||||
-{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
|
||||
-----------------------------------------------------------------------------------------
|
||||
{-| Module : Events
|
||||
Copyright : (c) Daan Leijen 2003
|
||||
@@ -240,6 +240,9 @@
|
||||
import Foreign.Marshal.Alloc
|
||||
import Foreign.Marshal.Array
|
||||
import Foreign.Marshal.Utils
|
||||
+#if (__GLASGOW_HASKELL__>=705)
|
||||
+import Foreign.C.Types(CInt(..))
|
||||
+#endif
|
||||
|
||||
import Data.Char ( chr ) -- used in stc
|
||||
import Data.Maybe ( fromMaybe, fromJust )
|
||||
--- wxcore-0.13.2.1-orig/src/haskell/Graphics/UI/WXCore/WxcTypes.hs 2012-02-07 18:27:09.000000000 +1100
|
||||
+++ wxcore-0.13.2.1/src/haskell/Graphics/UI/WXCore/WxcTypes.hs 2012-11-29 17:42:22.477244493 +1100
|
||||
@@ -142,7 +142,12 @@
|
||||
|
||||
import Data.Int
|
||||
import Data.Word
|
||||
+#ifdef MIN_VERSION_base(4,5,0)
|
||||
+import Debug.Trace (traceIO)
|
||||
+#else
|
||||
import Debug.Trace (putTraceMsg)
|
||||
+#define traceIO putTraceMsg
|
||||
+#endif
|
||||
|
||||
import Graphics.UI.WXCore.WxcObject
|
||||
import Graphics.UI.WXCore.WxcClassTypes
|
||||
@@ -853,7 +858,7 @@
|
||||
withCharResult io
|
||||
= do x <- io
|
||||
if (x < 0)
|
||||
- then do putTraceMsg ("Recieved negative unicode: " ++ (show x))
|
||||
+ then do traceIO ("Recieved negative unicode: " ++ (show x))
|
||||
return '\n'
|
||||
else return (fromCWchar x)
|
||||
|
@ -0,0 +1,29 @@
|
||||
--- wxcore-0.90.0.1-orig/wxcore.cabal 2012-05-15 06:26:55.000000000 +1000
|
||||
+++ wxcore-0.90.0.1/wxcore.cabal 2012-05-19 21:32:01.230849131 +1000
|
||||
@@ -80,7 +80,7 @@
|
||||
build-depends:
|
||||
array >= 0.2 && < 0.5,
|
||||
base >= 4 && < 5,
|
||||
- containers >= 0.2 && < 0.5
|
||||
+ containers >= 0.2 && < 0.6
|
||||
else
|
||||
build-depends:
|
||||
array >= 0.1 && < 0.3,
|
||||
--- wxcore-0.90.0.1-orig/src/haskell/Graphics/UI/WXCore/Events.hs 2012-05-15 06:26:55.000000000 +1000
|
||||
+++ wxcore-0.90.0.1/src/haskell/Graphics/UI/WXCore/Events.hs 2012-05-19 21:44:09.457185166 +1000
|
||||
@@ -1,4 +1,4 @@
|
||||
-{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
|
||||
-----------------------------------------------------------------------------------------
|
||||
{-| Module : Events
|
||||
Copyright : (c) Daan Leijen 2003
|
||||
@@ -245,6 +245,9 @@
|
||||
import Foreign.Marshal.Alloc
|
||||
import Foreign.Marshal.Array
|
||||
import Foreign.Marshal.Utils
|
||||
+#if (__GLASGOW_HASKELL__>=705)
|
||||
+import Foreign.C.Types(CInt(..))
|
||||
+#endif
|
||||
|
||||
import Data.Char ( chr ) -- used in stc
|
||||
import Data.Maybe ( fromMaybe, fromJust )
|
@ -1,8 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
wxHaskell is a portable and native GUI library for Haskell. It is
|
||||
built on top of wxWidgets, a comprehensive C++ library that is
|
||||
portable across all major GUI platforms, including GTK, Windows,
|
||||
X11, and MacOS X. This version works with wxWidgets 2.8 only.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxcore/wxcore-0.12.1.6.ebuild,v 1.3 2012/12/07 10:35:21 slyfox Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal wxwidgets
|
||||
|
||||
DESCRIPTION="wxHaskell core"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/parsec
|
||||
dev-haskell/stm
|
||||
>=dev-haskell/wxdirect-0.12.1.3
|
||||
>=dev-lang/ghc-6.10
|
||||
x11-libs/wxGTK:2.8[X]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxcore/wxcore-0.13.2.1.ebuild,v 1.1 2012/12/27 02:58:09 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit base haskell-cabal wxwidgets
|
||||
|
||||
DESCRIPTION="wxHaskell core"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="opengl"
|
||||
|
||||
RDEPEND="dev-haskell/parsec:=[profile?]
|
||||
dev-haskell/stm:=[profile?]
|
||||
>dev-haskell/wxdirect-0.12.1.2:${WX_GTK_VER}=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:=
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl?]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.13.2.1-ghc-7.6.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@wxdirect@wxdirect-${WX_GTK_VER}@g" \
|
||||
-i "${S}/Setup.hs" \
|
||||
|| die "Could not change Setup.hs for wxdirect slot ${WX_GTK_VER}"
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxcore/wxcore-0.90.0.3.ebuild,v 1.1 2012/12/27 02:58:09 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.9"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="wxHaskell core"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="opengl"
|
||||
|
||||
RDEPEND="dev-haskell/parsec:=[profile?]
|
||||
dev-haskell/stm:=[profile?]
|
||||
>=dev-haskell/wxc-0.90.0.4:${WX_GTK_VER}=[opengl,profile?]
|
||||
>=dev-haskell/wxdirect-0.90:${WX_GTK_VER}=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.90.0.1-ghc-7.5.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@wxdirect@wxdirect-${WX_GTK_VER}@g" \
|
||||
-i "${S}/Setup.hs" \
|
||||
|| die "Could not change Setup.hs for wxdirect slot ${WX_GTK_VER}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wxdirect-0.12.1.3.tar.gz 33730 SHA256 da59315339dc78b3bfbe08c1681d53c74a56e7c3de0f41a90099bd289b1bfb11 SHA512 cb1af8014a4959b8676df205e7b32f8beeb8728243d8597c498200409612f70705c1cc4d841834acaf35208550e4535726ac5386511906e6bedcfff0c8d6c7e8 WHIRLPOOL 68f4e2a73034768a413f13dfdb895628165c67de39ce12ff2d9f8cab809c38dd8bc8c32511ffa4da5c437c5176968ea16780779aa3d9e6a0d08d81d5efe7aa99
|
||||
DIST wxdirect-0.13.1.2.tar.gz 32730 SHA256 675fa4dc4769ab213e0cb8e0535152ba38f78412f5c3e326fdd1a7914cd4c5be SHA512 da9aa9ab61fdc21fe063a9d249ad1b7a413e079a43fa71b9c20e1c3faffacc6a226315c3c65cbf991b3a5f8fe89220db7a0fc2b0afb5e735f2f0a15a1d909f29 WHIRLPOOL 9d9ec33b69da2f232fd6c79f996e9c21709be05032c600d88d5c5f10a49c24a2d4b94e44dbc25b6bed9d4fbf318df6af3026638fc066934325279815eea7cddd
|
||||
DIST wxdirect-0.90.0.1.tar.gz 31211 SHA256 237b377387f2b9375d42abbb791001ddc07fa36d990b8720372f00c3fba35a12 SHA512 caa28cd5e9ef06a8f63b40ad517873d8d853136048c3597bc850c3460e3830f9cbbafc38dad8b1f356f3fe67f05c2339d97085ca63d3d9b0a75558b713d94033 WHIRLPOOL 8bdd8066bb4df514ec367266b137a73e0a6504c9fb5e9366ed7b46efbf747d2e8cc626aaff43a36d5710f85b0c395bcfc2625601f51c19dd88c2337080b04d9b
|
||||
|
@ -0,0 +1,73 @@
|
||||
--- wxdirect-0.13.1.2-orig/wxdirect.cabal 2012-02-07 18:26:28.000000000 +1100
|
||||
+++ wxdirect-0.13.1.2/wxdirect.cabal 2012-11-29 17:03:30.132111644 +1100
|
||||
@@ -68,7 +68,7 @@
|
||||
if flag(splitBase)
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
- containers >= 0.2 && < 0.5
|
||||
+ containers >= 0.2 && < 0.6
|
||||
else
|
||||
build-depends:
|
||||
base >= 3 && < 4,
|
||||
--- wxdirect-0.13.1.2-orig/src/ParseEiffel.hs 2012-02-07 18:26:28.000000000 +1100
|
||||
+++ wxdirect-0.13.1.2/src/ParseEiffel.hs 2012-11-29 16:13:33.791009108 +1100
|
||||
@@ -1,3 +1,4 @@
|
||||
+{-# LANGUAGE ScopedTypeVariables #-}
|
||||
-----------------------------------------------------------------------------------------
|
||||
{-| Module : ParseEiffel
|
||||
Copyright : (c) Daan Leijen 2003
|
||||
@@ -12,6 +13,7 @@
|
||||
-----------------------------------------------------------------------------------------
|
||||
module ParseEiffel( parseEiffel ) where
|
||||
|
||||
+import Control.Exception ( catch, IOException )
|
||||
import Data.Char( digitToInt )
|
||||
import Text.ParserCombinators.Parsec
|
||||
import qualified Text.ParserCombinators.Parsec.Token as P
|
||||
@@ -33,7 +35,7 @@
|
||||
|
||||
getDefaultEiffelFiles :: IO [FilePath]
|
||||
getDefaultEiffelFiles
|
||||
- = do wxwin <- getEnv "WXWIN" `catch` \err -> return ""
|
||||
+ = do wxwin <- getEnv "WXWIN" `catch` \(err::IOException) -> return ""
|
||||
return [wxwin ++ "/wxc/include/wxc_defs.e"
|
||||
,wxwin ++ "/wxc/ewxw/eiffel/spec/r_2_4/wx_defs.e"]
|
||||
|
||||
--- wxdirect-0.13.1.2-orig/src/Classes.hs 2012-02-07 18:26:28.000000000 +1100
|
||||
+++ wxdirect-0.13.1.2/src/Classes.hs 2012-11-29 17:12:55.416713615 +1100
|
||||
@@ -1,3 +1,4 @@
|
||||
+{-# LANGUAGE CPP #-}
|
||||
-----------------------------------------------------------------------------------------
|
||||
{-| Module : Classes
|
||||
Copyright : (c) Daan Leijen 2003
|
||||
@@ -28,7 +29,9 @@
|
||||
import Data.List( sort, sortBy )
|
||||
import qualified Data.Set as Set
|
||||
import qualified Data.Map as Map
|
||||
+#if !MIN_VERSION_base(4,6,0)
|
||||
import Prelude hiding ( catch )
|
||||
+#endif
|
||||
import HaskellNames( haskellTypeName, isBuiltin )
|
||||
import Types
|
||||
|
||||
--- wxdirect-0.13.1.2-orig/src/CompileClasses.hs 2012-02-07 18:26:28.000000000 +1100
|
||||
+++ wxdirect-0.13.1.2/src/CompileClasses.hs 2012-11-29 17:12:55.417713640 +1100
|
||||
@@ -89,7 +89,7 @@
|
||||
(exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
|
||||
|
||||
methodCount = length decls
|
||||
- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
|
||||
+ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
|
||||
|
||||
export = concat [ ["module " ++ moduleRoot ++ moduleName
|
||||
, " ( -- * Global" ]
|
||||
@@ -103,6 +103,9 @@
|
||||
, "import System.IO.Unsafe( unsafePerformIO )"
|
||||
, "import " ++ moduleRoot ++ "WxcTypes"
|
||||
, "import " ++ moduleRoot ++ moduleClassTypesName
|
||||
+ , "#if (__GLASGOW_HASKELL__>=705)"
|
||||
+ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
|
||||
+ , "#endif"
|
||||
, ""
|
||||
]
|
||||
]
|
@ -0,0 +1,49 @@
|
||||
--- wxdirect-0.90.0.1-orig/wxdirect.cabal 2012-04-19 01:05:11.000000000 +1000
|
||||
+++ wxdirect-0.90.0.1/wxdirect.cabal 2012-05-19 21:12:02.612085338 +1000
|
||||
@@ -66,7 +66,7 @@
|
||||
if flag(splitBase)
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
- containers >= 0.2 && < 0.5
|
||||
+ containers >= 0.2 && < 0.6
|
||||
else
|
||||
build-depends:
|
||||
base >= 3 && < 4,
|
||||
--- wxdirect-0.90.0.1-orig/src/Classes.hs 2012-04-19 01:05:10.000000000 +1000
|
||||
+++ wxdirect-0.90.0.1/src/Classes.hs 2012-07-14 13:58:48.072492467 +1000
|
||||
@@ -1,3 +1,4 @@
|
||||
+{-# LANGUAGE CPP #-}
|
||||
-----------------------------------------------------------------------------------------
|
||||
{-| Module : Classes
|
||||
Copyright : (c) Daan Leijen 2003
|
||||
@@ -28,7 +29,9 @@
|
||||
import Data.List( sort, sortBy )
|
||||
import qualified Data.Set as Set
|
||||
import qualified Data.Map as Map
|
||||
+#if !MIN_VERSION_base(4,6,0)
|
||||
import Prelude hiding ( catch )
|
||||
+#endif
|
||||
import HaskellNames( haskellTypeName, isBuiltin )
|
||||
import Types
|
||||
|
||||
--- wxdirect-0.90.0.1-orig/src/CompileClasses.hs 2012-04-19 01:05:10.000000000 +1000
|
||||
+++ wxdirect-0.90.0.1/src/CompileClasses.hs 2012-05-19 21:28:27.358052781 +1000
|
||||
@@ -89,7 +89,7 @@
|
||||
(exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
|
||||
|
||||
methodCount = length decls
|
||||
- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
|
||||
+ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
|
||||
|
||||
export = concat [ ["module " ++ moduleRoot ++ moduleName
|
||||
, " ( -- * Global" ]
|
||||
@@ -103,6 +103,9 @@
|
||||
, "import System.IO.Unsafe( unsafePerformIO )"
|
||||
, "import " ++ moduleRoot ++ "WxcTypes"
|
||||
, "import " ++ moduleRoot ++ moduleClassTypesName
|
||||
+ , "#if (__GLASGOW_HASKELL__>=705)"
|
||||
+ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
|
||||
+ , "#endif"
|
||||
, ""
|
||||
]
|
||||
]
|
@ -1,8 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
wxHaskell is a portable and native GUI library for Haskell. It is built on
|
||||
top of wxWidgets, a comprehensive C++ library that is portable across all
|
||||
major GUI platforms, including GTK, Windows, X11, and MacOS X. This version
|
||||
works with wxWidgets 2.8 only.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxdirect/wxdirect-0.12.1.3.ebuild,v 1.4 2012/12/06 22:54:59 slyfox Exp $
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="helper tool for building wxHaskell"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/parsec-2.1.0
|
||||
>=dev-lang/ghc-6.10"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxdirect/wxdirect-0.13.1.2.ebuild,v 1.1 2012/12/27 02:55:18 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="helper tool for building wxHaskell"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?]
|
||||
<dev-haskell/parsec-4:=[profile?]
|
||||
>=dev-haskell/strict-0.3:=[profile?]
|
||||
<dev-haskell/strict-1.0:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.13.1.2-ghc-7.6.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
|
||||
-i "${S}/${PN}.cabal" \
|
||||
|| die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxdirect/wxdirect-0.90.0.1.ebuild,v 1.1 2012/12/27 02:55:18 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
WX_GTK_VER="2.9"
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="helper tool for building wxHaskell"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?]
|
||||
<dev-haskell/parsec-4:=[profile?]
|
||||
dev-haskell/strict:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.90.0.1-ghc-7.5.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
|
||||
-i "${S}/${PN}.cabal" \
|
||||
|| die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST wx-0.12.1.6.tar.gz 46405 SHA256 13d2400a960737767de4dbef8099a8b033bf921542ed92808d4b85f90cb10fdc SHA512 5a07be101c4cfb61dbeedd95308d0ddb3e35d6c4e106d047b7cc0f00c77556fe370fd905f4e8b558421f3d19badfb9959f51dce623a4c043d421f4bc7a9a1195 WHIRLPOOL a9fab848f48c661e3780d29fe38abb000022e4c316a6f71927fd91f8d74e33bf1fe1fce83491951d506cc9de73f3abd1e3e92b369a24ccd0ecbeef985edaf6e5
|
||||
DIST wx-0.13.2.1.tar.gz 47690 SHA256 7bd91026c81ac0833ed78bcfa1639a7945965315c1fd7afe86ca881bb3aeb268 SHA512 60bcd361aa1b45c39a585e9baf815d943bd8194bfb517fd1803b45173bad34d5543263328ba583c9df7cd8a41eec633f030682a6529b7c360fee5807da9f7132 WHIRLPOOL 11d893bc17efe8e320a71eaecdc47a81ae133e447dbcc1a29efdf9e30bb1879032569d46f755878d9fc754cb28475d321b1643add46c6d30ded6f46cd6b15701
|
||||
DIST wx-0.90.tar.gz 47544 SHA256 42ca525d62b87563b5ed8a038368dc49c0b503701cc1ee36e845ab9a92453907 SHA512 0cc2dae07df26f2fc0849d9aff92c486dfcea9858842636102247843292e75bd7c6f64e5e11c1b3fc54953fb99f12db0633c4ba7926a2e3e3e28aeae6d0dc93f WHIRLPOOL 2a91d50601c1681eea4f6cc64582a602629b5406bb0d1050a01082d178ee837aa415abb5af6cde952ba5d613b53a791be03f18e46060cd533577509a9eb074a8
|
||||
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
wxHaskell is a portable and native GUI library for Haskell. It is built on top of wxWidgets - a comprehensive C++ library that is portable across all major GUI platforms; including GTK, Windows, X11, and MacOS X. This version works with wxWidgets 2.8 only.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/wxhaskell-0.13.2.1-r1.ebuild,v 1.1 2012/12/27 02:56:41 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN=wx
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="wxHaskell is a portable and native GUI library for Haskell"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/stm:=[profile?]
|
||||
>=dev-haskell/wxcore-0.13.1:${WX_GTK_VER}=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps \
|
||||
'wxcore >= 0.13.1' 'wxcore >= 0.13.1 && < 0.90' \
|
||||
'wxcore >= 0.12.1.6' 'wxcore >= 0.12.1.6 && < 0.90'
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/wxhaskell-0.90.ebuild,v 1.1 2012/12/27 02:56:41 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.9"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN=wx
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="wxHaskell is a portable and native GUI library for Haskell"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/stm:=[profile?]
|
||||
>=dev-haskell/wxcore-0.90:${WX_GTK_VER}=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,3 +1,4 @@
|
||||
DIST ucommon-5.2.2.tar.gz 792081 SHA256 9d5f3f4d1ef897482fe470b0dd65b0df516aaeb874eac3a33a455abca13f39e9 SHA512 5d5e526675cb39dffea48c38a14dff4eb1316a59c60e2352cfdbb0727ff4db00417e9704026f106da5d34f92ec2be3385b0763d66196f345f0b775bf62eb0125 WHIRLPOOL f857c4b06aff4bbb1ff84edc810d674c7d77a92bb4bcdb62fed64e77e9979c7d736b93596166de6c5fb848745aa7efc1b666231bdb6a33c3b959953b4b114ac2
|
||||
DIST ucommon-5.5.0.tar.gz 803892 SHA256 fd4b885ee5abdb3cc44a501d92428af71e1c50ff9166a0e5c5fdbdf16a853d8d SHA512 c860d0134a5c888bbbd008b1716eff985f152a8bf3e3ee54b85adcf89f3d073ea1d080a071def3314584579841a270f5323a7c092bf516af9efb2b3180b12440 WHIRLPOOL c7baf57390c415011a48fa7472932d73778b1f2a0b435de55a8d6564061ca28c29ef0660f03727853f7d96b6ea8f0d1e8afc99fff9556de4694ea9694f8363c3
|
||||
DIST ucommon-6.0.0.tar.gz 806713 SHA256 b28fe9c9f596c58bb796ec4aab54db7c525c8ad42bf5b7c57fe08d7d260c5099 SHA512 1482be954582317535e7b3668b433e4ee2bfe53ad05a7391f1152e19895221411b1900f66b0971c642bf1c5ff76241fc2d7ebd3ad020d20fce1e46d32d228bf7 WHIRLPOOL 546623fe5f5d4807c0f04145627b0e69f67022f15daf3ad6a49a69ef7c6a9be61cbbd9a255a674e2ea1f6cec54a65a5efe266b97243bc8f8946ae131b375a23e
|
||||
DIST ucommon-6.0.3.tar.gz 806841 SHA256 228f3a0fa78173e9fa43e154250a7ed4f1e5be720a81fd2768506c088190c432 SHA512 3ff30865a7f3fae955717c9bc2d3b37ad8f63dff8d3addc05eb9ddefa2311792f21b97ede852e22959ae6aae5114cce777a04b937aa07d564dd92d6f25f77762 WHIRLPOOL 93135ae4ec3c0e6d5203ebed6c6736b9b768d623d99a20674ee0a0ce48622d783efea6b8ca4eb22d5c2653b5059ff9626a35bf0ccfbad7d422a5cdf6c190c7c8
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ucommon-6.0.3.ebuild,v 1.1 2012/12/26 16:32:14 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils eutils
|
||||
|
||||
DESCRIPTION="Portable C++ runtime for threads and sockets"
|
||||
HOMEPAGE="http://www.gnu.org/software/commoncpp"
|
||||
SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="doc static-libs socks +cxx debug ssl gnutls"
|
||||
|
||||
RDEPEND="ssl? (
|
||||
!gnutls? ( dev-libs/openssl )
|
||||
gnutls? (
|
||||
net-libs/gnutls
|
||||
dev-libs/libgcrypt
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
${RDEPEND}"
|
||||
|
||||
DOCS=(README NEWS SUPPORT ChangeLog AUTHORS)
|
||||
PATCHES=( "${FILESDIR}"/disable_rtf_gen_doxy.patch
|
||||
"${FILESDIR}"/install_gcrypt.m4_file.patch
|
||||
"${FILESDIR}"/gcrypt_autotools.patch )
|
||||
|
||||
#"${FILESDIR}/${P}-address.patch"
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
if use ssl; then
|
||||
myconf+=" --with-sslstack=$(usex gnutls gnu ssl) "
|
||||
else
|
||||
myconf+=" --with-sslstack=nossl ";
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable socks)
|
||||
$(use_enable cxx stdcpp)
|
||||
${myconf}
|
||||
--enable-atomics
|
||||
--with-pkg-config
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
use doc && autotools-utils_src_compile doxy
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
if use doc; then
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST atomic-1.0.1.gem 12800 SHA256 54a8cbb32dad10b6b5258940e3ff8c6abe27971e1fa19600f6825a78640f2a83 SHA512 9fb874d213c8a215b491c8fa8bad8a197101ec94fcb59192963a7ae5b0fe5f22f5594fd87c9165576d66be0a51c581803d3a417de98c9a3fb6ab9787f25dcde9 WHIRLPOOL 98caf242942fad5daf40ae7009fe82e5a247a776dba628ad9f03078af08723f7f66a3651d1a3462123f7301354fbbc8739a13469377368b1eae96a9ecb453e63
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.0.1.ebuild,v 1.1 2012/12/26 18:56:41 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
# jruby → there is code for this in ext but that requires compiling java.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI"
|
||||
HOMEPAGE="https://github.com/headius/ruby-atomic"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext
|
||||
cp ext/atomic_reference$(get_modname) lib/ || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ferret-0.11.8.5-r1.ebuild,v 1.2 2012/12/26 14:42:27 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# ruby19 fails tests
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_NAME="ferret"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc/api"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README TODO TUTORIAL"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
MY_P="${P/ruby-/}"
|
||||
DESCRIPTION="A ruby indexing/searching library"
|
||||
HOMEPAGE="http://ferret.davebalmain.com/trac/"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+="app-arch/bzip2"
|
||||
DEPEND+="app-arch/bzip2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundled bzlib code and use system version instead.
|
||||
rm ext/BZLIB* ext/bzlib* || die
|
||||
sed -i -e '14i $LDFLAGS += " -lbz2 "' ext/extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
cp ext/ferret_ext$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/test_all.rb || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST shoulda-2.10.3.tar.gz 59670 SHA256 93035878a35ab48704901f11054686a9da468491ac299e4b0cc152a7c060e8c8 SHA512 24628ad431fdc78c547d54888bb2d4bc26264f2a2f6ab17cd1cd4af89ed5377312b1b1c4c8edccde47c606ef435ff9ea7c9427763fc28621a9f7f87e4fc0dbf8 WHIRLPOOL 066073415ea944e508fc274d8afef40cdc4f95b5ad46001c99ffb38a19b61b2749d68baca3c79c4dd882ad99c037df1d173be1b5106926c2229b46b82b666eb7
|
||||
DIST shoulda-2.11.2.tar.gz 144984 SHA256 9a0ae117911dcbfc29579baca60f742f042ea71fdff3c833b90d9c1199a0a110 SHA512 6b86ded7c0cb8248236afe8f1e53dda6e167fbe7a5d749a3ef59bb7279468db5ccb0855cb62ea31efb78cdc54a157f6fd34ca534816682f53a92a1d481147cc0 WHIRLPOOL ecf026cec3c94e399d630f2920d98017addb2cb5de6f02a75a2d26ae32149a850d9f433b6a093068c3c182a0435562f313f8a85b8d4d15b97d6da3c4659621d3
|
||||
DIST shoulda-2.11.3.tar.gz 145068 SHA256 8ab7e93f93d75c72cd5b8e84805b5c5b2e5f66e0b1cff933f8890ea203fff614 SHA512 0b347c4a8be177b5806364114c25dc786ca2ac95a11c93a723dbc9ea1f6d8ae62df7fb420a52d477cd1e10e8d894074072a040eef36ee8a43440e5256c8427e4 WHIRLPOOL 84d6cde1b3dc47d6a536b3125219432d4e7ece6d4cf3904adacbbc4866de9357f45fde44d7738820ca2a14dc4291322f98c8153029d288a77a9221c9e92b2ce7
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shoulda/shoulda-2.10.3.ebuild,v 1.8 2010/12/27 20:32:57 grobian Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTION_GUIDELINES.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Making tests easy on the fingers and eyes"
|
||||
HOMEPAGE="http://thoughtbot.com/projects/shoulda"
|
||||
SRC_URI="http://github.com/thoughtbot/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/thoughtbot-${PN}-5add4d2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# tests seem to be quite broken :(
|
||||
RESTRICT=test
|
||||
|
||||
#ruby_add_bdepend test "dev-ruby/rails virtual/ruby-test-unit"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shoulda/shoulda-2.11.2.ebuild,v 1.1 2011/02/18 07:10:54 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTION_GUIDELINES.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Making tests easy on the fingers and eyes"
|
||||
HOMEPAGE="http://thoughtbot.com/projects/shoulda"
|
||||
SRC_URI="http://github.com/thoughtbot/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/thoughtbot-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# tests seem to be quite broken :( They require working version of
|
||||
# various rails versions. There appear to be unit and matcher tests but
|
||||
# they can't be run on their own.
|
||||
RESTRICT=test
|
@ -0,0 +1 @@
|
||||
DIST thread_safe-0.1.0.gem 155648 SHA256 4ee7605080ea11b1bfd8a5d7ddeef97a73609d1ad8355e648c91d00842201d3a SHA512 d95cd968d264e96e49ee5f6af2bb930e074a589e3c4b63977c5dc274f5e126e3ea479e307d25fa80f9cb83ed70d916867700f9b8c2d8ee1581a419d129f36749 WHIRLPOOL 6575bd7b84c72c0a06d50bc9d17accaffe77dede3b11212e75a39de1d2f70d2a4c519bedb8d1d1c0a36bdbecd322ae191d8733acc6335d444dbc2c9114650730
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thread_safe/thread_safe-0.1.0.ebuild,v 1.1 2012/12/26 20:18:36 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
# jruby → there is code for this in ext but that requires compiling java.
|
||||
# ruby18 → test errors, unclear if this works with ruby18.
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A collection of thread-safe versions of common core Ruby classes"
|
||||
HOMEPAGE="https://github.com/headius/thread_safe"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -1,2 +1 @@
|
||||
DIST webmock-1.6.4.gem 74752 SHA256 7a356d14cc40c69f34cebb84232676cf2ad338ee0949d7fd45d97f78b245d55c SHA512 ec8625c49670650096c89f0df6a231538d65f20b7d48dcb28087c5d801a8a1c3deded3de37623e437d8113abf2e0b447eeaf9a42105be536eab1de1a973d1cde WHIRLPOOL 6096f075527190fa8691e9bb29dac173216addec5d9a2017c71804568fddebfa8a98f29b36c54f69022838793bcdc4f0445219db2fc154e65f336a272da9b410
|
||||
DIST webmock-1.7.4.gem 87552 SHA256 91d73775782024ec1438df6669c9b534009d6d14031243c9674764ca6598aacb SHA512 05d705446308445b43798be17fb4a27b72c18e92f61bd301cdb8d24ce587dfd3e31bf8e8f856648f801725884874beeed5998d0930195a24a68fb65ea7e613b5 WHIRLPOOL 7234619fab15267617acbff94f9eb081bafc8e3b71e13d699424158aff326d1678f6f66430a29d015e05f7c97d30f41b7dce1cb899c32c243bbf152c3e20f382
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/webmock-1.6.4.ebuild,v 1.2 2011/07/13 05:54:35 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests"
|
||||
HOMEPAGE="http://github.com/bblimke/webmock"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/addressable-2.2.5 >=dev-ruby/crack-0.1.7"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
virtual/ruby-test-unit
|
||||
dev-ruby/rspec:2
|
||||
>=dev-ruby/httpclient-2.1.5.2
|
||||
)"
|
||||
|
||||
# These are not supported for jruby.
|
||||
USE_RUBY="ruby18 ruby19 ree18" ruby_add_bdepend "test? ( >=dev-ruby/patron-0.4.9-r1 >=dev-ruby/em-http-request-0.2.14 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# There is now optional support for curb which we don't have in
|
||||
# Gentoo yet.
|
||||
sed -i -e '/curb/d' spec/spec_helper.rb || die
|
||||
rm spec/curb_spec.rb || die
|
||||
}
|
@ -1 +1 @@
|
||||
DIST MutantStormDemo_1_33.sh.bin 9249167 RMD160 372919bce40babea6e8489b7ca64da1f5df1c2cb SHA1 eb46d30912830f5d81caac0c4ba207c0dce6a319 SHA256 d1afce2b73a8adbef445ba60632163d499850498c430aa14d39377812e4f3561
|
||||
DIST MutantStormDemo_1_33.sh.bin 9249167 SHA256 d1afce2b73a8adbef445ba60632163d499850498c430aa14d39377812e4f3561 SHA512 176c9f05ca03a1b8f397e046eac26c1442571806543df9b7e0545b8e32e0cc8f2fc827f03840c2082e600a9336ba2c7a7497ef336d9eb8c4e8f122abec413cad WHIRLPOOL 6d9e5bc5625f91be5785bcb52d0c6e4df353d3136a73c0c3b81e405f0f0b4e855d4faf503c2e369c25c55bf1e14d65194987045ce5848a3532fa68cdea6cbb61
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue