From 8a51b9f01da3e2649fb1e9890e8fb5b7564c661f Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Mon, 22 Dec 2014 19:01:22 +0000 Subject: [PATCH] Initial ebuild. Required by >=games-puzzle/gnome-sudoku-3.14. Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806 --- dev-libs/qqwing/ChangeLog | 10 + dev-libs/qqwing/Manifest | 15 ++ .../qqwing/files/qqwing-1.3.0-autotools.patch | 206 ++++++++++++++++++ dev-libs/qqwing/metadata.xml | 5 + dev-libs/qqwing/qqwing-1.3.3.ebuild | 26 +++ 5 files changed, 262 insertions(+) create mode 100644 dev-libs/qqwing/ChangeLog create mode 100644 dev-libs/qqwing/Manifest create mode 100644 dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch create mode 100644 dev-libs/qqwing/metadata.xml create mode 100644 dev-libs/qqwing/qqwing-1.3.3.ebuild diff --git a/dev-libs/qqwing/ChangeLog b/dev-libs/qqwing/ChangeLog new file mode 100644 index 000000000000..a8a097b2396c --- /dev/null +++ b/dev-libs/qqwing/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/qqwing +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qqwing/ChangeLog,v 1.1 2014/12/22 19:01:18 eva Exp $ + +*qqwing-1.3.3 (22 Dec 2014) + + 22 Dec 2014; Gilles Dartiguelongue +qqwing-1.3.3.ebuild, + +files/qqwing-1.3.0-autotools.patch, +metadata.xml: + Initial ebuild. Required by >=games-puzzle/gnome-sudoku-3.14. + diff --git a/dev-libs/qqwing/Manifest b/dev-libs/qqwing/Manifest new file mode 100644 index 000000000000..21973e1a5248 --- /dev/null +++ b/dev-libs/qqwing/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX qqwing-1.3.0-autotools.patch 5417 SHA256 dcba7d9267b719bdbf56925271af8010cc4778fce1c60b9a17d8b71665b43b16 SHA512 cdb88b9a07cf5c68790c4ce7e6f1156dff4c985c0f65bd73f81556d41570be5789d8fce53594bcd698fdf182dfa0f88618f49fbdaee153b5dcb4c833553ff515 WHIRLPOOL 8f7161b13027d876f7fdef1e49f29a9902b36031023a8210f4f1aca3e5fd04a4b6305514dae7fee515c4ed7d02fe756029467d0fdfa3ead45d4bf8f5fdb0988a +DIST qqwing-1.3.3.tar.gz 89629 SHA256 e037748255d821439dfef9fb4bae2969e7ea600bb4e4cb0a0c1d7bc7883c596e SHA512 cce6e3122f0620b4a27f5c4186b468906006b6f9deda0b3fc474d40e678722bbb07474c479a75cbcac0812a097e5be4d7ae58339810a897f966d5a73b07a6833 WHIRLPOOL c5cfd0779faeee57cf760d8c94c37ae2343c156781c07320cf68c51a3dfe67d3c0f5bf8b077c33a88dc1e217ae742bb130f4a70b1ff96205427158232f867b76 +EBUILD qqwing-1.3.3.ebuild 632 SHA256 8d18269bdc6e3563548d845eae71d1c0523ab24adb93d069a046023bd74f8aef SHA512 479799b7f32aee70e028b4908aba3b273717e1ab76fe345202417e73dc18655e88bde63c8c09dc175a46cbba6aeae02e081f2de0b47df72a7657d5fea8fca5f4 WHIRLPOOL 1935e98017f8f906ac081f18d26102370898343a325ac6acc4219fbdb506c0f105b1c2ac0675576304f49c9e4a9f5d68deabdae7b5616600550158d63ad5afb6 +MISC ChangeLog 424 SHA256 987836ab3cec2446e389a7bc03d30f79c3e050da9be9a2d88f8c3fb372c59f2d SHA512 18e1f35233591f90770ac166a8e36db812f0a90ea5577933bd79cca6b80fb751c0b563d9e8a89620ad29ebb5dbe3d59c6989fd2114e295110fb9426c84bb7b3a WHIRLPOOL 46678865e4fd925c96f460e6c103c4d58a6d77be60a64db1d10e377ac595f2e3fc1512cee7b38c71f1b9ce561c0a5baf47a47cb217cd3cf3d561177b0fad551e +MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlSYaoAACgkQ1fmVwcYIWAaCMACgim47c2fK7Q/zgHl640YMr1s7 +aOAAoJbRSIGCHObACMiD6On7FF6bisHx +=4Sj9 +-----END PGP SIGNATURE----- diff --git a/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch b/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch new file mode 100644 index 000000000000..1a7bf41aeaf7 --- /dev/null +++ b/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch @@ -0,0 +1,206 @@ +From d94d718154c065218bc9db8ccfe638d84b86bdb4 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sat, 18 Oct 2014 13:02:58 +0200 +Subject: [PATCH] Make autotools a bit saner + +--- + Makefile.am | 16 ++++++++++++++++ + build/Makefile.am | 17 ----------------- + build/configure.ac | 47 ----------------------------------------------- + build/qqwing.pc.in | 10 ---------- + configure.ac | 47 +++++++++++++++++++++++++++++++++++++++++++++++ + qqwing.pc.in | 10 ++++++++++ + 6 files changed, 73 insertions(+), 74 deletions(-) + create mode 100644 Makefile.am + delete mode 100644 build/Makefile.am + delete mode 100755 build/configure.ac + delete mode 100755 build/qqwing.pc.in + create mode 100644 configure.ac + create mode 100644 qqwing.pc.in + +diff --git a/Makefile.am b/Makefile.am +new file mode 100644 +index 0000000..d6109ba +--- /dev/null ++++ b/Makefile.am +@@ -0,0 +1,16 @@ ++ACLOCAL_AMFLAGS = -I m4 ++ ++include_HEADERS = src/cpp/qqwing.hpp ++ ++lib_LTLIBRARIES = libqqwing.la ++libqqwing_la_SOURCES = src/cpp/qqwing.cpp src/cpp/qqwing.hpp ++libqqwing_la_LDFLAGS = -no-undefined -version-info $(QQWING_CURRENT):$(QQWING_REVISION):$(QQWING_AGE) ++ ++bin_PROGRAMS = qqwing ++qqwing_SOURCES = src/cpp/main.cpp ++qqwing_LDADD = $(top_builddir)/libqqwing.la ++ ++pkgconfigdir = $(libdir)/pkgconfig ++dist_pkgconfig_DATA = qqwing.pc ++ ++dist_man1_MANS = doc/qqwing.man +diff --git a/build/Makefile.am b/build/Makefile.am +deleted file mode 100644 +index ef647d2..0000000 +--- a/build/Makefile.am ++++ /dev/null +@@ -1,17 +0,0 @@ +-ACLOCAL_AMFLAGS = -I m4 +-EXTRA_DIST = debian +- +-include_HEADERS = qqwing.hpp +- +-lib_LTLIBRARIES = libqqwing.la +-libqqwing_la_SOURCES = qqwing.cpp qqwing.hpp +-libqqwing_la_LDFLAGS = -no-undefined -version-info $(QQWING_CURRENT):$(QQWING_REVISION):$(QQWING_AGE) +- +-bin_PROGRAMS = qqwing +-qqwing_SOURCES = main.cpp +-qqwing_LDADD = $(top_builddir)/libqqwing.la +- +-pkgconfigdir = $(libdir)/pkgconfig +-dist_pkgconfig_DATA = qqwing.pc +- +-dist_man_MANS = qqwing.1 +diff --git a/build/configure.ac b/build/configure.ac +deleted file mode 100755 +index ca75f59..0000000 +--- a/build/configure.ac ++++ /dev/null +@@ -1,47 +0,0 @@ +-AC_PREREQ(2.59) +-AC_INIT(qqwing, 1.3.3, http://qqwing.com/) +-AC_CONFIG_MACRO_DIR([m4]) +-AC_CONFIG_SRCDIR([config.h.in]) +-AC_CONFIG_HEADER([config.h]) +- +-# Before making a release, the LT_VERSION string should be modified. +-# The string is of the form C:R:A. +-# - If interfaces have been changed or added, but binary compatibility has +-# been preserved, change to C+1:0:A+1 +-# - If binary compatibility has been broken (eg removed or changed interfaces) +-# change to C+1:0:0 +-# - If the interface is the same as the previous version, change to C:R+1:A +-QQWING_CURRENT=2 +-QQWING_REVISION=3 +-QQWING_AGE=0 +- +-AC_SUBST([QQWING_CURRENT]) +-AC_SUBST([QQWING_REVISION]) +-AC_SUBST([QQWING_AGE]) +- +-AM_INIT_AUTOMAKE([foreign]) +- +-# Checks for programs. +-AC_PROG_CXX +-AC_PROG_CC +- +-LT_PREREQ([2.2]) +-LT_INIT([disable-static]) +- +-# Checks for libraries. +- +-# Checks for header files. +-AC_HEADER_STDC +-AC_CHECK_HEADERS([stdlib.h sys/time.h]) +- +-# Checks for typedefs, structures, and compiler characteristics. +-AC_HEADER_STDBOOL +-AC_C_CONST +-AC_C_INLINE +-AC_HEADER_TIME +- +-# Checks for library functions. +-AC_CHECK_FUNCS([gettimeofday]) +- +-AC_CONFIG_FILES([Makefile qqwing.pc]) +-AC_OUTPUT +diff --git a/build/qqwing.pc.in b/build/qqwing.pc.in +deleted file mode 100755 +index fcc4c45..0000000 +--- a/build/qqwing.pc.in ++++ /dev/null +@@ -1,10 +0,0 @@ +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ +-libdir=@libdir@ +-includedir=@includedir@ +- +-Name: libqqwing +-Description: Sudoku generator and solver library +-Version: @VERSION@ +-Libs: -L${libdir} -lqqwing +-Cflags: -I${includedir} +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..646494f +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,47 @@ ++AC_PREREQ(2.59) ++AC_INIT(qqwing, 1.3.3, http://qqwing.com/) ++AC_CONFIG_MACRO_DIR([m4]) ++AC_CONFIG_SRCDIR([config.h.in]) ++AC_CONFIG_HEADER([config.h]) ++ ++# Before making a release, the LT_VERSION string should be modified. ++# The string is of the form C:R:A. ++# - If interfaces have been changed or added, but binary compatibility has ++# been preserved, change to C+1:0:A+1 ++# - If binary compatibility has been broken (eg removed or changed interfaces) ++# change to C+1:0:0 ++# - If the interface is the same as the previous version, change to C:R+1:A ++QQWING_CURRENT=2 ++QQWING_REVISION=3 ++QQWING_AGE=0 ++ ++AC_SUBST([QQWING_CURRENT]) ++AC_SUBST([QQWING_REVISION]) ++AC_SUBST([QQWING_AGE]) ++ ++AM_INIT_AUTOMAKE([foreign subdir-objects]) ++ ++# Checks for programs. ++AC_PROG_CXX ++AC_PROG_CC ++ ++LT_PREREQ([2.2]) ++LT_INIT([disable-static]) ++ ++# Checks for libraries. ++ ++# Checks for header files. ++AC_HEADER_STDC ++AC_CHECK_HEADERS([stdlib.h sys/time.h]) ++ ++# Checks for typedefs, structures, and compiler characteristics. ++AC_HEADER_STDBOOL ++AC_C_CONST ++AC_C_INLINE ++AC_HEADER_TIME ++ ++# Checks for library functions. ++AC_CHECK_FUNCS([gettimeofday]) ++ ++AC_CONFIG_FILES([Makefile qqwing.pc]) ++AC_OUTPUT +diff --git a/qqwing.pc.in b/qqwing.pc.in +new file mode 100644 +index 0000000..fcc4c45 +--- /dev/null ++++ b/qqwing.pc.in +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: libqqwing ++Description: Sudoku generator and solver library ++Version: @VERSION@ ++Libs: -L${libdir} -lqqwing ++Cflags: -I${includedir} +-- +2.1.2 + diff --git a/dev-libs/qqwing/metadata.xml b/dev-libs/qqwing/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/dev-libs/qqwing/metadata.xml @@ -0,0 +1,5 @@ + + + +gnome + diff --git a/dev-libs/qqwing/qqwing-1.3.3.ebuild b/dev-libs/qqwing/qqwing-1.3.3.ebuild new file mode 100644 index 000000000000..dce96e834bff --- /dev/null +++ b/dev-libs/qqwing/qqwing-1.3.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qqwing/qqwing-1.3.3.ebuild,v 1.1 2014/12/22 19:01:18 eva Exp $ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Sudoku puzzle generator and solver" +HOMEPAGE="http://qqwing.com/" +SRC_URI="https://github.com/stephenostermiller/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +src_prepare() { + # Make autotools work out of the box + epatch "${FILESDIR}"/${PN}-1.3.0-autotools.patch + + eautoreconf +} -- 2.26.2