This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 40750bfe2c6ba222376f458bb80e8e48ecf93e52 (commit) via 19d12296f7582adeba1007e316f3a52f28a0256e (commit) from 4ce30170690a4018166ed1e474dbbce264706958 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/40750bfe2c6ba222376f458bb80e8e48ecf93...
commit 40750bfe2c6ba222376f458bb80e8e48ecf93e52 Author: Cyril Hrubis metan@ucw.cz Date: Fri Jan 3 19:06:45 2014 +0100
doc: Remove unused image, fix typo.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/doc/asteroids-corner.png b/doc/asteroids-corner.png deleted file mode 100644 index 2e4cf0b..0000000 Binary files a/doc/asteroids-corner.png and /dev/null differ diff --git a/doc/index.txt b/doc/index.txt index cb3302b..48596e3 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -54,7 +54,7 @@ https://build.opensuse.org/package/show/home:metan/gfxprim%5Bbuildservice]. Or download prebuild Debian http://gfxprim.ucw.cz/packages/debian/wheezy/%5Bamd64 Wheezy packages].
-The GFXprim 1.0.0-rc1 has been released! +The GFXprim 1.0.0-rc0 has been released! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Download
http://repo.or.cz/w/gfxprim.git/commit/19d12296f7582adeba1007e316f3a52f28a02...
commit 19d12296f7582adeba1007e316f3a52f28a0256e Author: Cyril Hrubis metan@ucw.cz Date: Fri Jan 3 19:06:20 2014 +0100
gentoo: Add initial ebuilds.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/gentoo/media-libs/gfxprim/Manifest b/gentoo/media-libs/gfxprim/Manifest new file mode 100644 index 0000000..091cf8b --- /dev/null +++ b/gentoo/media-libs/gfxprim/Manifest @@ -0,0 +1,4 @@ +AUX configure-more-compatible-with-autoconf.patch 5335 SHA256 54f7614efee554a3ce8d90835df909a3e66272896018f65c600d0d93c038513e SHA512 6e55396524c0d9ce14f4cde643d8ff09fa04bee8437e64c3701e7e6c833abe902b9abdcf02ea883f29466c10e66836b11cc26755c91594e3a56ea60dd0e6be9b WHIRLPOOL b9f7a9cb54ca5af28dcc8bd1100857b8ddc6c178cd4572977ed6a914fa8ad6f5b8e8addbed2070250bcf9c15c3e28875c80bbe3f0b94f8c98933e275634aff65 +DIST gfxprim-1.0.0_rc1.tar.bz2 326144 SHA256 0c543f45fa779a9503944723a7c9c449688e0fd66207f8adcc99cc667eed5582 SHA512 7481006d80d8ffc8302e1bc11e9b19253e37ed562ff465ac4028dcd73c6bfae073bad859204c3d7917d5eaebf38080802ef0463232eb436075addc9bd60af219 WHIRLPOOL 5cdf9008ec41752063556e98238a0cbeb1b3c8d1ef7fe899e632942b5e9d5d19955f4e097146fb385c0829137770463f1b36dd41737550de1bcfe07bdcf9f217 +EBUILD gfxprim-1.0.0_rc1.ebuild 1489 SHA256 ea09af7501316d26ef907c1f37e2329ae422202a57e470634f8a496906130c3f SHA512 d546f7f7fd0088f65993a238f0963c8ca4b5756a5fedbda57517cc49844f7e78b1675749a954e9e62dddd7e70bdb5132f4cd5f1f631b0abe8c3f321e6761576b WHIRLPOOL ac8f36b8bbf0ac71e35621c60cf7f1720d94e5574bcc40f6b20b2bb44f118e9b92571c9111f8fc57d404e95b16050261b67b193e004dbe85467b1de50940d539 +EBUILD gfxprim-9999.ebuild 1489 SHA256 ea09af7501316d26ef907c1f37e2329ae422202a57e470634f8a496906130c3f SHA512 d546f7f7fd0088f65993a238f0963c8ca4b5756a5fedbda57517cc49844f7e78b1675749a954e9e62dddd7e70bdb5132f4cd5f1f631b0abe8c3f321e6761576b WHIRLPOOL ac8f36b8bbf0ac71e35621c60cf7f1720d94e5574bcc40f6b20b2bb44f118e9b92571c9111f8fc57d404e95b16050261b67b193e004dbe85467b1de50940d539 diff --git a/gentoo/media-libs/gfxprim/files/configure-more-compatible-with-autoconf.patch b/gentoo/media-libs/gfxprim/files/configure-more-compatible-with-autoconf.patch new file mode 100644 index 0000000..8a587cf --- /dev/null +++ b/gentoo/media-libs/gfxprim/files/configure-more-compatible-with-autoconf.patch @@ -0,0 +1,166 @@ +From 4ce30170690a4018166ed1e474dbbce264706958 Mon Sep 17 00:00:00 2001 +From: Cyril Hrubis metan@ucw.cz +Date: Fri, 3 Jan 2014 17:40:18 +0100 +Subject: [PATCH] configure: Now more compatible with autoconf + +* Fix prefix handling + + - now setting --foodir (mandir, bindir, ...) adds the --prefix only if the + value does not start with slash (i.e. local path) + +* Add a few compatibility options, i.e. infodir, sysconfdir, etc. + +* Move -fPIC and -pthread to config.mk so that it's not overridden by + CFLAGS from the build system + +Signed-off-by: Cyril Hrubis metan@ucw.cz +--- + config.mk | 1 + + configure | 36 ++++++++++++++++++++++++++++++++---- + install.mk | 8 ++++---- + install.sh | 6 +++--- + pyinst.mk | 2 +- + 5 files changed, 41 insertions(+), 12 deletions(-) + +diff --git a/config.mk b/config.mk +index 9273375..82b349a 100644 +--- a/config.mk ++++ b/config.mk +@@ -1,5 +1,6 @@ + include $(TOPDIR)/config.gen.mk + ++CFLAGS+=-fPIC -pthread + CFLAGS+=-I$(TOPDIR)/include/ + LDFLAGS+=-L$(TOPDIR)/build/ + +diff --git a/configure b/configure +index 200bfc7..728a180 100755 +--- a/configure ++++ b/configure +@@ -100,6 +100,23 @@ def check_for_python_config(cfg): + sys.stderr.write('Yesn') + + # ++# Adds prefix to *dir vars but only if the path does not start with '/' ++# ++def cfg_get_value(cfg_key): ++ if (cfg_key.endswith('dir')): ++ value = cfg[cfg_key][0] ++ if (value.startswith('/')): ++ return value ++ else: ++ prefix = cfg['prefix'][0] ++ if (prefix.endswith('/')): ++ return prefix + value ++ else: ++ return prefix + '/' + value ++ else: ++ return cfg[cfg_key][0] ++ ++# + # Library checking api + # + class libraries: +@@ -116,7 +133,8 @@ class libraries: + sys.stderr.write("----------------------n") + + for i in cfg: +- sys.stderr.write("%14s : '%s'n" % (i, cfg[i][0])) ++ value = cfg_get_value(i) ++ sys.stderr.write("%14s : '%s'n" % (i, value)) + sys.stderr.write(" - %snn" % cfg[i][1]) + + sys.stderr.write("Libraries to link againstn") +@@ -250,8 +268,10 @@ def write_config_h(cfg, libs): + + def write_config_mk(cfg, libs): + f = open('config.gen.mk', 'w') ++ + for i in cfg: +- f.write("# %sn%s=%sn" % (cfg[i][1], i, cfg[i][0])) ++ f.write("# %sn%s=%sn" % (cfg[i][1], i, cfg_get_value(i))) ++ + libs.write_config_mk(f); + f.close() + sys.stderr.write("Config 'config.gen.mk' writtenn") +@@ -303,7 +323,7 @@ if __name__ == '__main__': + # Dictionary for default configuration parameters + # + cfg = {'CC' : ['gcc', 'Path/name of the C compiler'], +- 'CFLAGS' : ['-pthread -W -Wall -Wextra -fPIC -O2 -ggdb', 'C compiler flags'], ++ 'CFLAGS' : ['-W -Wall -Wextra -O2 -ggdb', 'C compiler flags'], + 'PYTHON_BIN' : ['python', 'Path/name of python interpreter'], + 'SWIG' : ['swig', 'Simplified Wrapper and Interface Generator'], + 'PYTHON_CONFIG' : ['python-config', 'Python config helper'], +@@ -313,7 +333,15 @@ if __name__ == '__main__': + 'bindir' : ['bin', 'Where to install binaries'], + 'libdir' : ['', 'Where to install libraries'], + 'includedir' : ['include', 'Where to install headers'], +- 'mandir' : ['share/man', 'Where to install man pages']} ++ 'mandir' : ['share/man', 'Where to install man pages'], ++ # Here comes autoconf compatibility cruft, not used for anything yet ++ 'infodir' : ['share/info', 'Where to install info pages'], ++ 'datadir' : ['share', 'Where to place readonly arch independend datafiles'], ++ 'sysconfdir' : ['etc', 'Where to place configuration'], ++ 'localstatedir' : ['local/var/', 'Where to place runtime modified datafiles'], ++ 'build' : ['', 'WARNING not used'], ++ 'host' : ['', 'WARNING not used'], ++ } + + # + # Library detection/enable disable +diff --git a/install.mk b/install.mk +index 991247a..4b777c0 100644 +--- a/install.mk ++++ b/install.mk +@@ -1,13 +1,13 @@ + ifdef DESTDIR +-BIN_DIR=$(DESTDIR)$(prefix)/$(bindir) ++BIN_DIR=$(DESTDIR)/$(bindir) + else +-BIN_DIR=$(prefix)/$(bindir) ++BIN_DIR=$(bindir) + endif + + ifdef DESTDIR +-MAN_DIR=$(DESTDIR)$(prefix)/$(mandir)/man1 ++MAN_DIR=$(DESTDIR)/$(mandir)/man1 + else +-MAN_DIR=$(prefix)/$(mandir)/man1 ++MAN_DIR=$(mandir)/man1 + endif + + install: +diff --git a/install.sh b/install.sh +index a0f8d83..dbb2ca8 100755 +--- a/install.sh ++++ b/install.sh +@@ -5,9 +5,9 @@ LIBDIR="$2" + BINDIR="$3" + INCLUDEDIR="$4" + +-HEADER_LOC="${DESTDIR}$PREFIX/$INCLUDEDIR" +-LIB_LOC="${DESTDIR}$PREFIX/$LIBDIR" +-BIN_LOC="${DESTDIR}$PREFIX/$BINDIR" ++HEADER_LOC="${DESTDIR}/$INCLUDEDIR" ++LIB_LOC="${DESTDIR}/$LIBDIR" ++BIN_LOC="${DESTDIR}/$BINDIR" + + # Headers + echo "INSTALL headers ($HEADER_LOC)" +diff --git a/pyinst.mk b/pyinst.mk +index f1323b6..4a273cb 100644 +--- a/pyinst.mk ++++ b/pyinst.mk +@@ -6,7 +6,7 @@ + ifdef SWIG + ifdef PYTHON_CONFIG + +-PY_INSTALL_PREFIX=$(prefix)/$(libdir)/python$(PYTHON_VER)/gfxprim/$(LIBNAME) ++PY_INSTALL_PREFIX=$(libdir)/python$(PYTHON_VER)/gfxprim/$(LIBNAME) + + ifdef DESTDIR + PY_INSTALL_PREFIX:=$(DESTDIR)$(PY_INSTALL_PREFIX) +-- +1.8.3.2 + diff --git a/gentoo/media-libs/gfxprim/gfxprim-1.0.0_rc1.ebuild b/gentoo/media-libs/gfxprim/gfxprim-1.0.0_rc1.ebuild new file mode 100644 index 0000000..c748fa3 --- /dev/null +++ b/gentoo/media-libs/gfxprim/gfxprim-1.0.0_rc1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +if [ "${PV}" = 9999 ]; then + EGIT_REPO_URI="https://github.com/gfxprim/gfxprim.git" + inherit git-2 + KEYWORDS="" +else + SRC_URI="http://gfxprim.ucw.cz/releases/$%7BP%7D.tar.bz2" + KEYWORDS="~amd64 ~x86 ~arm ~ppc" +fi + +DESCRIPTION="Modular 2D bitmap graphics library" +HOMEPAGE="http://gfxprim.ucw.cz/" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="jpeg png gif tiff jpeg2k freetype X sdl aalib python" + +RDEPEND="jpeg? ( virtual/jpeg ) + png? ( media-libs/libpng ) + gif? ( media-libs/giflib ) + tiff? ( media-libs/tiff ) + jpeg2k? ( >=media-libs/openjpeg-2.0.0 ) + freetype? ( media-libs/freetype ) + X? ( x11-libs/libX11 ) + sdl? ( media-libs/libsdl ) + aalib? ( media-libs/aalib ) +" + +DEPEND="$RDEPEND + dev-python/jinja + python? ( dev-lang/swig ) +" + +src_prepare() { + if [ "${PV}" != 9999 ]; then + epatch ${FILESDIR}/configure-more-compatible-with-autoconf.patch + fi +} + +src_configure() { + use !jpeg && conf="${conf} --disable=jpeg" + use !png && conf="${conf} --disable=libpng" + use !gif && conf="${conf} --disable=giflib" + use !tiff && conf="${conf} --disable=tiff" + use !jpeg2k && conf="${conf} --disable=openjpeg" + use !freetype && conf="${conf} --disable=freetype" + use !X && conf="${conf} --disable=libX11" + use !sdl && conf="${conf} --disable=libsdl" + use !aalib && conf="${conf} --disable=aalib" + use !python && conf="${conf} --PYTHON_CONFIG=''" + + econf ${conf} +} diff --git a/gentoo/media-libs/gfxprim/gfxprim-9999.ebuild b/gentoo/media-libs/gfxprim/gfxprim-9999.ebuild new file mode 120000 index 0000000..8ecb30f --- /dev/null +++ b/gentoo/media-libs/gfxprim/gfxprim-9999.ebuild @@ -0,0 +1 @@ +gfxprim-1.0.0_rc1.ebuild No newline at end of file
-----------------------------------------------------------------------
Summary of changes: doc/asteroids-corner.png | Bin 5241 -> 0 bytes doc/index.txt | 2 +- gentoo/media-libs/gfxprim/Manifest | 4 + .../configure-more-compatible-with-autoconf.patch | 166 ++++++++++++++++++++ gentoo/media-libs/gfxprim/gfxprim-1.0.0_rc1.ebuild | 60 +++++++ gentoo/media-libs/gfxprim/gfxprim-9999.ebuild | 1 + 6 files changed, 232 insertions(+), 1 deletions(-) delete mode 100644 doc/asteroids-corner.png create mode 100644 gentoo/media-libs/gfxprim/Manifest create mode 100644 gentoo/media-libs/gfxprim/files/configure-more-compatible-with-autoconf.patch create mode 100644 gentoo/media-libs/gfxprim/gfxprim-1.0.0_rc1.ebuild create mode 120000 gentoo/media-libs/gfxprim/gfxprim-9999.ebuild
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.