summaryrefslogtreecommitdiff
path: root/x11-libs/xosd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/xosd
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/xosd')
-rw-r--r--x11-libs/xosd/Manifest13
-rw-r--r--x11-libs/xosd/files/xosd-2.2.14-m4.patch9
-rw-r--r--x11-libs/xosd/files/xosd-2.2.14-makefile.patch11
-rw-r--r--x11-libs/xosd/files/xosd-config-incorrect-dup-filter-fix.patch15
-rw-r--r--x11-libs/xosd/metadata.xml7
-rw-r--r--x11-libs/xosd/xosd-2.2.14-r1.ebuild46
-rw-r--r--x11-libs/xosd/xosd-2.2.14-r2.ebuild48
-rw-r--r--x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild51
8 files changed, 200 insertions, 0 deletions
diff --git a/x11-libs/xosd/Manifest b/x11-libs/xosd/Manifest
new file mode 100644
index 000000000000..d602170c187a
--- /dev/null
+++ b/x11-libs/xosd/Manifest
@@ -0,0 +1,13 @@
+AUX xosd-2.2.14-m4.patch 242 SHA256 c6588e7f37aedaad59358bcaa3b0a46ac983b933b2da32230fa5e07479030015 SHA512 022be1d08f8798b98f647023f7c90774bd6a12959de0c2a621ff730e8470af109e9dce06bcdbaae64145ade4a277bf301dff3129597cda7baf6059a35873eecc WHIRLPOOL df49d01ed958cff1c98313625d06e6d3cca4aabf4fb3a4d6fb631f4c966e14d3f7ec0c252d8f0610cef06d9463ad73e18075318991400823243204019e9f5a13
+AUX xosd-2.2.14-makefile.patch 480 SHA256 d0b1e1fdf38041c8cef9d10ebe777a6eeda7150528697fbbaa612ace8d7d7ceb SHA512 3a51c49358d432e4fe8a28aabfcfa5a457b8334815298fa8b9b313ca6c2caacbb261e65fcf92df71f4e5fd0042a43ac02d06bc842cf299ba59c182d6de21c249 WHIRLPOOL dacc5d647c5d600cece3b61eb0dce0cf2e8042de4bf672ea4aab869e6e11aa4969a1ec6fc70ece5369989fbb50e9907c5f7a3ce547828e2a679fc3b8539e6187
+AUX xosd-config-incorrect-dup-filter-fix.patch 520 SHA256 d95916960a195d907d90fe5f51dfec4d216c77c87e861e5b41a18308de6db7bb SHA512 cd7726a0c616d11d20eabefca3ff4a63c76e49b1e725ddc5f3ab3452e64a46e94e5584e0779cdc4b23705fb1b17a8d2535bdbb22fd1b0ee88782bca1d4d5c248 WHIRLPOOL 39f3fbbff4d8fdca19ea246c21c525c77df07108d2ef43d07eaf90f65fa7173d3a955969ca4927a8b696f075b7c593a0521b4c20de87df9a8e454f8ba1510590
+DIST xosd-gentoo-m4-1.tar.bz2 5043 SHA256 6cd8c8e8bef4576e332e9f855e5ae7071b4da5e7ce0e96906531784aec2c061f SHA512 fcf4d8a77cc80bc04a444a4faa9e072ea1e00950b3ce685b7944302d2ee3ebdfc5ec29ccb311495ee2e1fb5e61cc2d49350b303288d1d86430fa6bc8b3772483 WHIRLPOOL 413fd7e89094bacb9c6538304e9b2a4d2bcf9dea67f123d5fd7903ddc6a36321ae5b97e44d626f93b90dab2fed8501b0def9f48cfe9233999aac316b99188a3f
+DIST xosd_2.2.14-1.diff.gz 8616 SHA256 1b74a379030a2a8a1c36b6589023445bc1f620dbfa12ef799590568505f390b2 SHA512 257ada9e0261c45c4c182acceeb24b95bbce08ec2ccae7ef49f9c5ee7a1e9995bd9527df725e0a871d48fa444899669320dc536674d0de71b766e9106097f86e WHIRLPOOL 3ef3c0e5a8fbc31a8e81e7f8ba1f7272672cf6c1cd4f9300ef2c82a91afbd840c4a5b506ad7322e9bec6272beb039f752be564a8fca77b67641cb82ebf200b47
+DIST xosd_2.2.14-2.1.debian.tar.xz 17276 SHA256 ccde8324c909d75e60b124146d1e20c6a586385934dc15df02b7209f7324322d SHA512 ba5d86d2391e6dfdc6a2994e486f9c5ecd1934438815f4dc01c0633192d74a2fa2cabe647574052c4a87203e0c12b9bb8c38851975c36f19d113787dae3681ee WHIRLPOOL 0cbf30b4a8e3eba6fcf89afc29d3c02a0cfa1be0c87866378c6d07c1ebb43429f187624daf9eb364669f6b566a16710bf2bcb7a4f56c4cba19321b6710af0259
+DIST xosd_2.2.14.orig.tar.gz 418331 SHA256 4f1fa96f4895baee6a3cba40f188a0da23bbac9d68e8c326d749e084143cb508 SHA512 3caf6d106d34488f4823e2a58fdff7a69b90f505b8da2443485167ff0362c6f27614c9a5019e738ff1f897d3c2249c934ff60953e3775566d66e8e9b30e4e473 WHIRLPOOL 64c93f9fedcd9442ccb78980cb157e9ea5db84edaaa1d6965f6a9ac45c6f773b24596da46b153449d6bc3208213d799ab48fe8dc0b67a260c0ccf88568c24b36
+EBUILD xosd-2.2.14-r1.ebuild 1148 SHA256 7c9d3024d514d7f174170e9092c441187a6dbdeadd5c9bcf84507be6dfc4eb2f SHA512 432862114a8ece95cab5f5a7b3988dee8a7cc546d6f00a47a47846dca1d2cb1f71933ce462bd635c8eaf898820ad873495d2b82a068b2a0e02dafc31f1755d00 WHIRLPOOL 1d0b64786757e35cdc90e9dd87c2473362aed92dee4b1989fa8749e24b504b6aee80dab8b6f59bb68b43cb4cf95abc32d146a5c60b966180daa296fa7abf2a8f
+EBUILD xosd-2.2.14-r2.ebuild 1239 SHA256 a5e58d7c34b3eb6b653936022e55c4ac684e462dd741c11b89bff68aeb185d34 SHA512 95966ace6adec85673c9a71c34cc4501706d11cfe65b78232833733dea278d38f6f041ca474164b76392341f9935f8482e1aa14b97ce01628df6ee5c326b98ca WHIRLPOOL 23bd3dad69086b58740f5413d65a90cdc47f10808c4b73e073a3f3ed06dd7e7994857ece1eaf64fd1449069f776b3dc491c4a25453409b41e11930ece32031e5
+EBUILD xosd-2.2.14_p2_p1.ebuild 1356 SHA256 1745722c30b3bcfab4b4bb92006b18060c8a5043205c7a7746c252e1ae7d5600 SHA512 d0ad103f468b1fdaf720f4d3adabcef8d4eca235828fef7bb6767654d10a3f2334e81ce1c0e22a84d7cf4e588bce85354bd423e5023fd53dda993dee22b0f0c1 WHIRLPOOL acd4090007536e956017e3d799d1b60467cbb54968707ca909a740357799133b3aa15d6a03a8bba493b1a61a90ce7c5e0e8ec13379bdb964c84c674c281972e8
+MISC ChangeLog 3368 SHA256 0749b1da434947880e012019ebac561d4b5aae75c98fdecfa952a8cf2c1c7bb5 SHA512 ba5e81289b41fa5e07e499b5cd7d2903039c667727224730f9142427afe1a5a7498a63505f4e57cc368a50b723573f07e53f79e63b441d2e671a2ab1d3ab5e91 WHIRLPOOL 70434e8cc7eb71fd039f2dcd22d48920aaa2c51a99d01b4041c253c5dfacadcca2aa0339d52dc41dfdbdd4e4868a26c680db28e42ce20fa4769b2d0398e7c781
+MISC ChangeLog-2015 10898 SHA256 de50fc5e57cb45235701803cf06b63d4f5e3e0b2f8aefdedaab6da519b45b12b SHA512 646124326cd68d31be770822dc9a60bb2682946e2dbe4876b0ac5ecefac5abc052fe13b8c1bcc8448ef18aaa09a0fdb87105d6db5079c19347db74ac5e527f91 WHIRLPOOL 05591b1cf32270287ba5f34372aa1a32f5f4d95bc71e522ca692dd1304b921d3541161fea2be304f538d8196de024bd2afb1db48854e950b3b1487fa7cedb5b2
+MISC metadata.xml 216 SHA256 c8445a9369ee9402bfea443f2bef617a8854b0d01b7402a9599296272897384b SHA512 8b8a55269a3c1429d2f13a0056d9e500cf3b176584b9dc259eaccc2e68a3eb86234e522fdd960e9ee35d6039ce1e747c6bb986ef00af259279537a29a15adfc7 WHIRLPOOL 656ba7880fd6bf68c08d3da3c1eda9be41acaedc4ab7b559a99afaee73c1b74821cc9587d30898cfc6e2186657a2be5241d92a6681f813ed0f4edf73353a5d01
diff --git a/x11-libs/xosd/files/xosd-2.2.14-m4.patch b/x11-libs/xosd/files/xosd-2.2.14-m4.patch
new file mode 100644
index 000000000000..3e529728f8b3
--- /dev/null
+++ b/x11-libs/xosd/files/xosd-2.2.14-m4.patch
@@ -0,0 +1,9 @@
+Fix aclocal warning:
+/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
+--- xosd-2.2.14/libxosd.m4
++++ xosd-2.2.14/libxosd.m4
+@@ -8,3 +8,3 @@
+ dnl
+-AC_DEFUN(AM_PATH_LIBXOSD,
++AC_DEFUN([AM_PATH_LIBXOSD],
+ [dnl
diff --git a/x11-libs/xosd/files/xosd-2.2.14-makefile.patch b/x11-libs/xosd/files/xosd-2.2.14-makefile.patch
new file mode 100644
index 000000000000..ed6da80fbb61
--- /dev/null
+++ b/x11-libs/xosd/files/xosd-2.2.14-makefile.patch
@@ -0,0 +1,11 @@
+--- xosd-2.2.14/man/Makefile.am
++++ xosd-2.2.14/man/Makefile.am
+@@ -3,7 +3,7 @@
+ xosd_display.3 xosd_hide.3 xosd_is_onscreen.3 xosd_set_vertical_offset.3 \
+ xosd_set_pos.3 xosd_set_shadow_offset.3 xosd_show.3 xosd_uninit.3 xosd.3 \
+ xosd_get_number_lines.3 xosd_set_align.3 xosd_create.3 \
+- xosd_set_horizontal_offset.3 xosd_destroy.3 xosd_create.3 xosd_is_onscreen.3 \
++ xosd_set_horizontal_offset.3 xosd_destroy.3 \
+ xosd_set_bar_length.3
+
+ EXTRA_DIST = ${man_MANS}
diff --git a/x11-libs/xosd/files/xosd-config-incorrect-dup-filter-fix.patch b/x11-libs/xosd/files/xosd-config-incorrect-dup-filter-fix.patch
new file mode 100644
index 000000000000..8446297f15ce
--- /dev/null
+++ b/x11-libs/xosd/files/xosd-config-incorrect-dup-filter-fix.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/show_bug.cgi?id=286632
+
+This patch disables reordering and duplicate removing for non-libs arguments, thus --param and alike gcc options may be used safe now.
+
+written by Andrew Savchenko
+--- script/xosd-config.in.orig
++++ script/xosd-config.in
+@@ -161,7 +161,6 @@
+ fi;;
+ *)
+ case " $af_other_flags " in
+- *\ $i\ *) ;; # already there
+ *) af_other_flags="$af_other_flags $i" ;; # add it to output
+ esac ;;
+ esac
diff --git a/x11-libs/xosd/metadata.xml b/x11-libs/xosd/metadata.xml
new file mode 100644
index 000000000000..4f449373c059
--- /dev/null
+++ b/x11-libs/xosd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="sourceforge">libxosd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-libs/xosd/xosd-2.2.14-r1.ebuild b/x11-libs/xosd/xosd-2.2.14-r1.ebuild
new file mode 100644
index 000000000000..557f70b50cd4
--- /dev/null
+++ b/x11-libs/xosd/xosd-2.2.14-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils autotools
+
+DESCRIPTION="Library for overlaying text in X-Windows X-On-Screen-Display"
+HOMEPAGE="https://sourceforge.net/projects/libxosd/"
+SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${PV}.orig.tar.gz
+ https://dev.gentoo.org/~jer/${PN}_${PV}-1.diff.gz
+ http://digilander.libero.it/dgp85/gentoo/${PN}-gentoo-m4-1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd"
+IUSE="xinerama"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ media-fonts/font-misc-misc"
+DEPEND="${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xextproto
+ x11-proto/xproto
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-m4.patch
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${DISTDIR}"/${PN}_${PV}-1.diff.gz
+
+ AT_M4DIR="${WORKDIR}/m4" eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_enable xinerama)
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/x11-libs/xosd/xosd-2.2.14-r2.ebuild b/x11-libs/xosd/xosd-2.2.14-r2.ebuild
new file mode 100644
index 000000000000..4625a7e33e1f
--- /dev/null
+++ b/x11-libs/xosd/xosd-2.2.14-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils autotools
+
+DESCRIPTION="Library for overlaying text in X-Windows X-On-Screen-Display"
+HOMEPAGE="https://sourceforge.net/projects/libxosd/"
+SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${PV}.orig.tar.gz
+ https://dev.gentoo.org/~jer/${PN}_${PV}-1.diff.gz
+ http://digilander.libero.it/dgp85/gentoo/${PN}-gentoo-m4-1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE="xinerama"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ media-fonts/font-misc-misc"
+DEPEND="${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xextproto
+ x11-proto/xproto
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-m4.patch
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${DISTDIR}"/${PN}_${PV}-1.diff.gz
+ # bug #286632
+ epatch "${FILESDIR}"/"${PN}"-config-incorrect-dup-filter-fix.patch
+
+ AT_M4DIR="${WORKDIR}/m4" eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_enable xinerama)
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild b/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild
new file mode 100644
index 000000000000..c255a3e1ee6e
--- /dev/null
+++ b/x11-libs/xosd/xosd-2.2.14_p2_p1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils autotools versionator
+
+MY_PV=$(get_version_component_range 1-3)
+MY_PATCH_MAJ=$(get_version_component_range 4)
+MY_PATCH_MIN=$(get_version_component_range 5)
+
+DESCRIPTION="Library for overlaying text in X-Windows X-On-Screen-Display"
+HOMEPAGE="https://sourceforge.net/projects/libxosd/"
+SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/x/xosd/${PN}_${MY_PV}-${MY_PATCH_MAJ/p/}.${MY_PATCH_MIN/p/}.debian.tar.xz
+ http://digilander.libero.it/dgp85/gentoo/${PN}-gentoo-m4-1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE="static-libs xinerama"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ media-fonts/font-misc-misc"
+DEPEND="${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xextproto
+ x11-proto/xproto
+ virtual/pkgconfig"
+
+DOCS=(
+ AUTHORS ChangeLog NEWS README TODO
+)
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_prepare() {
+ epatch "${WORKDIR}"/debian/patches/*.diff
+ # bug #286632
+ epatch "${FILESDIR}"/"${PN}"-config-incorrect-dup-filter-fix.patch
+
+ eapply_user
+
+ AT_M4DIR="${WORKDIR}/m4" eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable xinerama) \
+ $(use_enable static-libs static)
+}