[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2022-03-19 Thread Sam James
commit: b70dea2a4e00f4e90fd2893b3832674f4c799c58
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 19 23:35:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 19 23:35:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70dea2a

media-libs/urt: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 4bb63a9695dd..a1f40effaf39 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -76,8 +76,8 @@ src_configure() {
 src_compile() {
tc-export AR RANLIB
 
-   emake CC=$(tc-getCC) -C lib buildlibso
-   emake CC=$(tc-getCC)
+   emake CC="$(tc-getCC)" -C lib buildlibso
+   emake CC="$(tc-getCC)"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2021-11-19 Thread Sam James
commit: 67217a950583c36e995a39ecda88d0594bd6440a
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 11:13:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 11:32:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67217a95

media-libs/urt: update EAPI 6 -> 7

Signed-off-by: Sam James  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 99e08abf1455..4bb63a9695dd 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -1,12 +1,14 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit flag-o-matic multilib toolchain-funcs
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="the Utah Raster Toolkit is a library for dealing with raster 
images"
 HOMEPAGE="https://www.cs.utah.edu/gdc/projects/urt/";
 SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
+S="${WORKDIR}"
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
@@ -24,11 +26,6 @@ DEPEND="
X? ( x11-base/xorg-proto )
 "
 
-S=${WORKDIR}
-
-urt_config() {
-   use $1 && echo "#define $2" || echo "##define $2"
-}
 PATCHES=(
"${FILESDIR}"/${P}-rle-fixes.patch
"${FILESDIR}"/${P}-compile-updates.patch
@@ -40,13 +37,17 @@ PATCHES=(
"${FILESDIR}"/${P}-implicit-function-declarations.patch
 )
 
+urt_config() {
+   use $1 && echo "#define $2" || echo "##define $2"
+}
+
 src_prepare() {
-   rm -f bin/README
+   rm -f bin/README || die
 
default
 
# punt bogus manpage #109511
-   rm -f man/man1/template.1
+   rm -f man/man1/template.1 || die
 
# stupid OS X declares a stack_t type already #107428
sed -i -e 's:stack_t:_urt_stack:g' tools/clock/rleClock.c || die
@@ -56,9 +57,9 @@ src_prepare() {
 src_configure() {
append-cflags -fPIC
 
-   sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr
+   sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr || die
 
-   cp "${FILESDIR}"/gentoo-config config/gentoo
+   cp "${FILESDIR}"/gentoo-config config/gentoo || die
cat >> config/gentoo <<-EOF
$(urt_config X X11)
$(urt_config postscript POSTSCRIPT)
@@ -69,7 +70,7 @@ src_configure() {
$(has_version media-libs/giflib && urt_config gif GIF)
EOF
 
-   ./Configure config/gentoo || die "config"
+   ./Configure config/gentoo || die "configure failed"
 }
 
 src_compile() {
@@ -82,7 +83,7 @@ src_compile() {
 src_install() {
mkdir -p man-dest/man{1,3,5}
# this just installs it into some local dirs
-   make install || die
+   emake install
 
use tools && dobin bin/*
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2021-11-05 Thread Sam James
commit: 74aa889df01826995c4293b747381ed492181836
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  6 05:54:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  6 05:54:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74aa889d

media-libs/urt: fix metadata indentation

Signed-off-by: Sam James  gentoo.org>

 media-libs/urt/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/urt/metadata.xml b/media-libs/urt/metadata.xml
index 2f462961f11..0962f154ba6 100644
--- a/media-libs/urt/metadata.xml
+++ b/media-libs/urt/metadata.xml
@@ -1,8 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
-
-Install tools
-
+   
+   
+   Install tools
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2021-01-06 Thread Fabian Groffen
commit: 21e7e93875e074b26bdca6b54599075aed8578b1
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:25:45 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 14:26:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e7e938

media-libs/urt: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 7b2d16703e9..2670c6df642 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/files/

2020-12-12 Thread David Seifert
commit: d4227f535139e52396506fa62697d16cac5b9d15
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Dec 12 16:35:08 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec 12 16:35:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4227f53

media-libs/urt: remove unused patch

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/urt/files/urt-3.1b-build-fixes.patch | 151 
 1 file changed, 151 deletions(-)

diff --git a/media-libs/urt/files/urt-3.1b-build-fixes.patch 
b/media-libs/urt/files/urt-3.1b-build-fixes.patch
deleted file mode 100644
index 2f801e0c984..000
--- a/media-libs/urt/files/urt-3.1b-build-fixes.patch
+++ /dev/null
@@ -1,151 +0,0 @@
-some hosts are more anal about ar usage than others
-http://bugs.gentoo.org/107428
-
-respect user LDFLAGS
-http://bugs.gentoo.org/126872
-
 a/lib/makefile.src
-+++ b/lib/makefile.src
-@@ -181,8 +181,7 @@
- # Rebuild the library from all the .o files.
- buildlib: $(OBJS)
-   -rm -f $(LIBNAME)
--  ar rc $(LIBNAME)
--  ar q $(LIBNAME) $(OBJS)
-+  ar rc $(LIBNAME) $(OBJS)
- #ifndef NO_RANLIB
-   ranlib $(LIBNAME)
- #endif
 a/tools/clock/makefile.src
-+++ b/tools/clock/makefile.src
-@@ -6,7 +6,7 @@ install: rleClock
-   mv rleClock ../rleClock.out
- 
- rleClock:rleClock.o font.o
--  ${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
-+  ${CC} ${CFLAGS} ${LDFLAGS} rleClock.o font.o ${LIBS} -o rleClock -lm
- 
- font.c:font.src makeFont
-   chmod +x makeFont
 a/tools/makefile.src
-+++ b/tools/makefile.src
-@@ -62,21 +62,21 @@ applymap.out rlebg.out: $(RI)/rle_raw.h
- pyrlib.o: pyrlib.c $(RI)/pyramid.h $(RI)/rle.h $(RI)/rle_config.h
-   $(CC) $(CFLAGS) pyrlib.c -c
- pyrmask.out: pyrlib.o pyrmask.c $(RI)/pyramid.h
--  $(CC) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o pyrmask.new
-+  $(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o 
pyrmask.new
-   mv pyrmask.new pyrmask.out
- 
- fant.out: fant.o mallocNd.o
--  $(CC) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o fant.new
-+  $(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o 
fant.new
-   mv fant.new fant.out
-   
- # rlebox and crop use some common code.
- rle_box.o: $(RI)/rle.h $(RI)/rle_config.h $(RI)/rle_raw.h
- 
- crop.out: crop.c rle_box.o
--  ${CC} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
-+  ${CC} ${LDFLAGS} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
-   mv crop.new crop.out
- rlebox.out: rlebox.c rle_box.o
--  ${CC} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
-+  ${CC} ${LDFLAGS} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
-   mv rlebox.new rlebox.out
- 
- # rleClock has it's own directory, must be built special
-@@ -100,7 +100,7 @@ clean: clean-pgm
- .SUFFIXES:
- .SUFFIXES: .out .c .o
- .c.out:
--  $(CC) $(CFLAGS) $< $(LIBS) -lm -o $*.new
-+  $(CC) $(LDFLAGS) $(CFLAGS) $< $(LIBS) -lm -o $*.new
-   mv $*.new $@
- 
- .c.o:
 a/cnv/makefile.src
-+++ b/cnv/makefile.src
-@@ -76,13 +76,13 @@ PBMDIR = 
- # ppmtorle - ppm format to RLE
- # rletoppm - RLE to ppm format
- pgmtorle.out: pgmtorle.c
--  $(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o 
$*.new
-   mv $*.new $@
- ppmtorle.out: ppmtorle.c
--  $(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o 
$*.new
-   mv $*.new $@
- rletoppm.out: rletoppm.c
--  $(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o 
$*.new
-   mv $*.new $@
- #endif
- 
-@@ -95,10 +95,10 @@ rletoppm.out: rletoppm.c
- # iristorle/rletoiris - Convert between RLE and SGI image format.
- #
- iristorle.out: iristorle.c
--  $(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o 
$*.new
-   mv $*.new $@
- rletoiris.out: rletoiris.c
--  $(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o 
$*.new
-   mv $*.new $@
- #endif
- 
-@@ -108,10 +108,10 @@ TIFFDIR =
- # tifftorle - Convert TIFF images to RLE
- # rletotiff - Convert RLE images to TIFF
- rletotiff.out: rletotiff.c
--  $(CC) $(CFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o 
$*.new
-   mv $*.new $@
- tifftorle.out: tifftorle.c
--  $(CC) $(CFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
-+  $(CC) $(CFLAGS) $(LDFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o 

[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2020-12-04 Thread Aaron Bauman
commit: f1dab8184830c18af43de205e8ab351744b7e618
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Dec  4 18:36:32 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Dec  4 18:36:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1dab818

media-libs/urt: drop old

Signed-off-by: Aaron Bauman  gentoo.org>

 media-libs/urt/urt-3.1b-r1.ebuild | 77 ---
 1 file changed, 77 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r1.ebuild 
b/media-libs/urt/urt-3.1b-r1.ebuild
deleted file mode 100644
index 4765c23d3cf..000
--- a/media-libs/urt/urt-3.1b-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="the Utah Raster Toolkit is a library for dealing with raster 
images"
-HOMEPAGE="https://www.cs.utah.edu/gdc/projects/urt/";
-SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
-
-LICENSE="URT gif? ( free-noncomm )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE="gif postscript tiff X"
-
-RDEPEND="X? ( x11-libs/libXext )
-   gif? ( media-libs/giflib )
-   tiff? ( media-libs/tiff )
-   postscript? ( app-text/ghostscript-gpl )"
-DEPEND="${RDEPEND}
-   X? ( x11-base/xorg-proto )"
-
-S=${WORKDIR}
-
-urt_config() {
-   use $1 && echo "#define $2" || echo "##define $2"
-}
-
-src_prepare() {
-   rm -f bin/README
-
-   epatch "${FILESDIR}"/${P}-rle-fixes.patch
-   epatch "${FILESDIR}"/${P}-compile-updates.patch
-   epatch "${FILESDIR}"/${P}-tempfile.patch
-   epatch "${FILESDIR}"/${P}-build-fixes.patch
-   epatch "${FILESDIR}"/${P}-make.patch
-   epatch "${FILESDIR}"/${P}-solaris.patch
-
-   # punt bogus manpage #109511
-   rm -f man/man1/template.1
-
-   # stupid OS X declares a stack_t type already #107428
-   sed -i -e 's:stack_t:_urt_stack:g' tools/clock/rleClock.c || die
-
-   sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr
-   cp "${FILESDIR}"/gentoo-config config/gentoo
-   cat >> config/gentoo <<-EOF
-   $(urt_config X X11)
-   $(urt_config postscript POSTSCRIPT)
-   $(urt_config tiff TIFF)
-   ExtraCFLAGS = ${CFLAGS}
-   MFLAGS = ${MAKEOPTS}
-   # prevent circular depend #111455
-   $(has_version media-libs/giflib && urt_config gif GIF)
-   EOF
-}
-
-src_configure() {
-   ./Configure config/gentoo || die "config"
-}
-
-src_compile() {
-   emake CC=$(tc-getCC)
-}
-
-src_install() {
-   mkdir -p man-dest/man{1,3,5}
-   # this just installs it into some local dirs
-   make install || die
-   dobin bin/*
-   dolib.a lib/librle.a
-   insinto /usr/include
-   doins include/rle*.h
-   doman man-dest/man?/*.[135]
-   dodoc *-changes CHANGES* README blurb
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2020-12-04 Thread Mikle Kolyada
commit: 78923905be8a331ab5fe86952fc31a670f067d8d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec  4 13:25:26 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec  4 14:24:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78923905

media-libs/urt: Keyword 3.1b-r3 riscv, #756115

Signed-off-by: Mikle Kolyada  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 2b1a27b002d..7b2d16703e9 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris 
~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2020-12-02 Thread Sam James
commit: b0be7a25de7b48778eaecf4215051cfce3645c42
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Dec  2 22:33:45 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  2 22:38:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0be7a25

media-libs/urt: stable 3.1b-r3 for sparc, bug #757981

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 04a75fb83a6..2b1a27b002d 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2020-03-29 Thread Sergei Trofimovich
commit: 1d90c9ae80710b04b7b8750b7fdceb93874815ed
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 29 10:02:53 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 29 10:02:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d90c9ae

media-libs/urt: destabilize down to ~m68k

Bug: https://bugs.gentoo.org/681534
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/urt/urt-3.1b-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r1.ebuild 
b/media-libs/urt/urt-3.1b-r1.ebuild
index 65b56d75cd0..efedd718981 100644
--- a/media-libs/urt/urt-3.1b-r1.ebuild
+++ b/media-libs/urt/urt-3.1b-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript tiff X"
 
 RDEPEND="X? ( x11-libs/libXext )



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-06-12 Thread Markus Meier
commit: c710336ee45b96d6bd48482509e64975dfe0c8c6
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Jun 13 04:42:49 2019 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Jun 13 04:42:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c710336e

media-libs/urt: arm stable, bug #681534

Signed-off-by: Markus Meier  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 688cf52b1ee..c3e32304cf6 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-05-12 Thread Thomas Deutschmann
commit: 5b202484cf63595b38660c62b2d973609589b607
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon May 13 00:31:36 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon May 13 00:38:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b202484

media-libs/urt: x86 stable (bug #681534)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 1131ff8083d..688cf52b1ee 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-05-07 Thread Tobias Klausmann
commit: 1f48e88c22f8be5e3f9ce3bfaa0a3f062bc0fae2
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue May  7 08:45:44 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue May  7 08:45:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f48e88c

media-libs/urt-3.1b-r3: alpha stable

Bug: http://bugs.gentoo.org/681534
Signed-off-by: Tobias Klausmann  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index c7d6649cd9f..1131ff8083d 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-04-28 Thread Mikle Kolyada
commit: eab52efb4a990ff62627c0ae75491734e7c2aa3c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Apr 28 20:26:44 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Apr 28 20:26:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab52efb

media-libs/urt: s390 stable wrt bug #681534

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 1ac168645eb..c7d6649cd9f 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-04-20 Thread Sergei Trofimovich
commit: c1b493498737f96df120a93c564c037a6a84
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Apr 20 07:30:22 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 20 07:46:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1b49349

media-libs/urt: stable 3.1b-r3 for hppa, bug #681534

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 18f9f67f76d..17ef6da2ed5 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-04-13 Thread Agostino Sarubbo
commit: 30ca1348c5c575f1e8f473c5e6eac01373f37c37
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 13 19:09:53 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 13 19:09:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ca1348

media-libs/urt: amd64 stable wrt bug #681534

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 01004688783..18f9f67f76d 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-04-13 Thread Aaron Bauman
commit: fe61d21709a249c9fb0d3741def5679d4bd0ab2b
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Apr 13 14:08:46 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Apr 13 14:09:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe61d217

media-libs/urt: arm64 stable (bug #681534)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/urt/urt-3.1b-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index 49d4c7897ed..01004688783 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2019-04-07 Thread Sergei Trofimovich
commit: fd5dd286869ff62041a496dcbe8dfaeeb5b25ef3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr  7 20:57:46 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr  7 21:00:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5dd286

media-libs/urt: stable 3.1b-r3 for ia64, bug #681534

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/urt/urt-3.1b-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index d17db2efb3d..49d4c7897ed 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2018-08-15 Thread Jeroen Roovers
commit: 4a0e7d65612359971ad2035bf7c76860283bdf4e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Aug 15 07:27:51 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Aug 15 07:28:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0e7d65

media-libs/urt: Add USE=tools.

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 media-libs/urt/metadata.xml   | 3 +++
 media-libs/urt/urt-3.1b-r3.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/urt/metadata.xml b/media-libs/urt/metadata.xml
index 19bf1be2581..86d48d06885 100644
--- a/media-libs/urt/metadata.xml
+++ b/media-libs/urt/metadata.xml
@@ -5,4 +5,7 @@
graph...@gentoo.org
Gentoo Graphics Project
 
+
+Install tools
+
 

diff --git a/media-libs/urt/urt-3.1b-r3.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
index c22b164afab..d17db2efb3d 100644
--- a/media-libs/urt/urt-3.1b-r3.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 LICENSE="URT gif? ( free-noncomm )"
 SLOT="0/3.1b-r2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
-IUSE="gif postscript static-libs tiff X"
+IUSE="gif postscript static-libs tiff tools X"
 
 RDEPEND="
X? ( x11-libs/libXext )
@@ -83,7 +83,8 @@ src_install() {
mkdir -p man-dest/man{1,3,5}
# this just installs it into some local dirs
make install || die
-   dobin bin/*
+
+   use tools && dobin bin/*
 
use static-libs && dolib.a lib/librle.a
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/files/, media-libs/urt/

2018-08-15 Thread Jeroen Roovers
commit: ff2fd068236a2b6e716cc419c458e3edf48a3c2d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Aug 15 07:03:44 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Aug 15 07:03:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2fd068

media-libs/urt: Fix includes (bug #293578).

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 .../urt-3.1b-implicit-function-declarations.patch  | 96 ++
 .../urt/{urt-3.1b-r2.ebuild => urt-3.1b-r3.ebuild} |  3 +-
 2 files changed, 98 insertions(+), 1 deletion(-)

diff --git a/media-libs/urt/files/urt-3.1b-implicit-function-declarations.patch 
b/media-libs/urt/files/urt-3.1b-implicit-function-declarations.patch
new file mode 100644
index 000..4e0e31e660b
--- /dev/null
+++ b/media-libs/urt/files/urt-3.1b-implicit-function-declarations.patch
@@ -0,0 +1,96 @@
+Fix implicit declaration of functions
+
+--- a/cnv/rletoabA62/rletoabA62.c
 b/cnv/rletoabA62/rletoabA62.c
+@@ -42,6 +42,10 @@
+ */
+ 
+ #include 
++#include 
++#include 
++#include 
++#include 
+ 
+ #ifndef TRUE
+ #define TRUE 1
+--- a/tools/mallocNd.c
 b/tools/mallocNd.c
+@@ -67,6 +67,7 @@
+ 
+ /* Imports */
+ #include 
++#include 
+ #include 
+ 
+ /* Forward declarations */
+--- a/get/getx11/getx11.h
 b/get/getx11/getx11.h
+@@ -29,6 +29,8 @@
+ #include 
+ #include 
+ #include 
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/tools/into.c
 b/tools/into.c
+@@ -27,6 +27,7 @@
+ 
+ #include "rle_config.h"
+ #include 
++#include 
+ #include 
+ #include 
+ #include /* for MAXPATHLEN */
+--- a/tools/rlecat.c
 b/tools/rlecat.c
+@@ -15,6 +15,7 @@
+ */
+ 
+ #include 
++#include 
+ #include "rle.h"
+ #include "rle_raw.h"
+ 
+--- a/tools/rleaddcom.c
 b/tools/rleaddcom.c
+@@ -26,6 +26,7 @@
+  */
+ 
+ #include 
++#include 
+ #include "rle.h"
+ #include 
+ #include /* for MAXPATHLEN */
+--- a/tools/rlenoise.c
 b/tools/rlenoise.c
+@@ -20,6 +20,7 @@
+  */
+ 
+ #include 
++#include 
+ #include "rle.h"
+ 
+ /* Change this according the value on your system.  This is a crock. */
+--- a/cnv/rletorla.c
 b/cnv/rletorla.c
+@@ -29,6 +29,7 @@
+  * System includes.
+  */
+ #include 
++#include 
+ #include "rlb_header.h"
+ #include "rle.h"
+ 
+--- a/cnv/giftorle.c
 b/cnv/giftorle.c
+@@ -22,6 +22,7 @@
+ /* +--+ */
+ 
+ #include  
++#include  
+ #include  "rle.h"
+ 
+ #ifndef lint

diff --git a/media-libs/urt/urt-3.1b-r2.ebuild 
b/media-libs/urt/urt-3.1b-r3.ebuild
similarity index 96%
rename from media-libs/urt/urt-3.1b-r2.ebuild
rename to media-libs/urt/urt-3.1b-r3.ebuild
index 9630f407797..c22b164afab 100644
--- a/media-libs/urt/urt-3.1b-r2.ebuild
+++ b/media-libs/urt/urt-3.1b-r3.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.cs.utah.edu/gdc/projects/urt/";
 SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z";
 
 LICENSE="URT gif? ( free-noncomm )"
-SLOT="0/${PVR}"
+SLOT="0/3.1b-r2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE="gif postscript static-libs tiff X"
 
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}"/${P}-make.patch
"${FILESDIR}"/${P}-solaris.patch
"${FILESDIR}"/${P}-librle-toolchain.patch
+   "${FILESDIR}"/${P}-implicit-function-declarations.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/files/

2018-08-14 Thread Jeroen Roovers
commit: fdb09eba477610289b03a870b3e7a9019b59d570
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug 14 14:12:20 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Aug 15 06:54:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb09eba

media-libs/urt: Clean up patches.

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 media-libs/urt/files/urt-3.1b-build-fixes.patch| 24 ++--
 .../urt/files/urt-3.1b-compile-updates.patch   | 44 +++---
 media-libs/urt/files/urt-3.1b-rle-fixes.patch  | 36 +-
 media-libs/urt/files/urt-3.1b-solaris.patch|  4 +-
 media-libs/urt/files/urt-3.1b-tempfile.patch   |  4 +-
 5 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/media-libs/urt/files/urt-3.1b-build-fixes.patch 
b/media-libs/urt/files/urt-3.1b-build-fixes.patch
index 28da6b9b66d..2f801e0c984 100644
--- a/media-libs/urt/files/urt-3.1b-build-fixes.patch
+++ b/media-libs/urt/files/urt-3.1b-build-fixes.patch
@@ -4,8 +4,8 @@ http://bugs.gentoo.org/107428
 respect user LDFLAGS
 http://bugs.gentoo.org/126872
 
 urt/lib/makefile.src
-+++ urt/lib/makefile.src
+--- a/lib/makefile.src
 b/lib/makefile.src
 @@ -181,8 +181,7 @@
  # Rebuild the library from all the .o files.
  buildlib: $(OBJS)
@@ -16,8 +16,8 @@ http://bugs.gentoo.org/126872
  #ifndef NO_RANLIB
ranlib $(LIBNAME)
  #endif
 urt/tools/clock/makefile.src
-+++ urt/tools/clock/makefile.src
+--- a/tools/clock/makefile.src
 b/tools/clock/makefile.src
 @@ -6,7 +6,7 @@ install: rleClock
mv rleClock ../rleClock.out
  
@@ -27,8 +27,8 @@ http://bugs.gentoo.org/126872
  
  font.c:font.src makeFont
chmod +x makeFont
 urt/tools/makefile.src
-+++ urt/tools/makefile.src
+--- a/tools/makefile.src
 b/tools/makefile.src
 @@ -62,21 +62,21 @@ applymap.out rlebg.out: $(RI)/rle_raw.h
  pyrlib.o: pyrlib.c $(RI)/pyramid.h $(RI)/rle.h $(RI)/rle_config.h
$(CC) $(CFLAGS) pyrlib.c -c
@@ -64,8 +64,8 @@ http://bugs.gentoo.org/126872
mv $*.new $@
  
  .c.o:
 urt/cnv/makefile.src
-+++ urt/cnv/makefile.src
+--- a/cnv/makefile.src
 b/cnv/makefile.src
 @@ -76,13 +76,13 @@ PBMDIR = 
  # ppmtorle - ppm format to RLE
  # rletoppm - RLE to ppm format
@@ -127,8 +127,8 @@ http://bugs.gentoo.org/126872
mv $*.new $@
  
  # Dependency lines.  Make sure to #ifdef them.
 urt/cnv/rletoabA62/makefile.src
-+++ urt/cnv/rletoabA62/makefile.src
+--- a/cnv/rletoabA62/makefile.src
 b/cnv/rletoabA62/makefile.src
 @@ -15,7 +15,7 @@ all  :   $(PGMS)
  # Executables.  The .out will be stripped off in the install action.
  
@@ -138,8 +138,8 @@ http://bugs.gentoo.org/126872
  rletoabA62.o rle.o $(LIBS)
mv rletoabA62.new rletoabA62.out
  
 urt/cnv/rletogif/makefile.src
-+++ urt/cnv/rletogif/makefile.src
+--- a/cnv/rletogif/makefile.src
 b/cnv/rletogif/makefile.src
 @@ -15,7 +15,7 @@ all: $(PGMS)
  # The executable.  The ".out" will be stripped off in the install action.
  

diff --git a/media-libs/urt/files/urt-3.1b-compile-updates.patch 
b/media-libs/urt/files/urt-3.1b-compile-updates.patch
index 105f7c41f6a..d33f004fe80 100644
--- a/media-libs/urt/files/urt-3.1b-compile-updates.patch
+++ b/media-libs/urt/files/urt-3.1b-compile-updates.patch
@@ -1,13 +1,13 @@
 get/getx11/XGetHClrs.c
-+++ get/getx11/XGetHClrs.c
+--- a/get/getx11/XGetHClrs.c
 b/get/getx11/XGetHClrs.c
 @@ -1,5 +1,4 @@
  #ifndef XLIBINT_H_NOT_AVAILABLE
 -#include 
  
  /* $XConsortium: XGetHClrs.c,v 11.10 88/09/06 16:07:50 martin Exp $ */
  /* CopyrightMassachusetts Institute of Technology1986 */
 tools/mallocNd.c
-+++ tools/mallocNd.c
+--- a/tools/mallocNd.c
 b/tools/mallocNd.c
 @@ -67,7 +67,7 @@
  
  /* Imports */
@@ -17,8 +17,8 @@
  
  /* Forward declarations */
  char *BuildIndirectionTable();
 tools/into.c
-+++ tools/into.c
+--- a/tools/into.c
 b/tools/into.c
 @@ -40,8 +40,8 @@
  static char buf[MAXPATHLEN+1];
  short forceflg;   /* overwrite an unwritable 
file? */
@@ -39,8 +39,8 @@
unlink(buf);
exit(1);
  }
 cnv/tex/dvirle2.c
-+++ cnv/tex/dvirle2.c
+--- a/cnv/tex/dvirle2.c
 b/cnv/tex/dvirle2.c
 @@ -55,7 +55,6 @@
  void DumpTopOfBand(), MoveDown(), WriteBuf(), WriteBlanks();
  
@@ -49,8 +49,8 @@
  extern char *optarg;
  extern int optind;
  
 cnv/wasatchrle.c
-+++ cnv/wasatchrle.c
+--- a/cnv/wasatchrle.c
 b/cnv/wasatchrle.c
 @@ -32,7 +32,6 @@
  #include 
  #include "rle.h"
@@ -59,8 +59,8 @@
  
  /* "short" in our world is 16 bits.  Beware of swyte-bopping. */
  
 get/getx11/x11_stuff.c
-+++ get/getx11/x11_stuff.c
+--- a/get/getx11/x11_stuff.c
 b/get/getx11/x11_stuff.c
 @@ -155,7 +155,6 @@
IPC_CREAT|0777 );
if ( img->shm_img.shmid < 0 )
@@ -77,8 +77,8 @@
if ( errno == ENOSPC )
{
if ( !no_sh

[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/files/, media-libs/urt/

2018-08-14 Thread Jeroen Roovers
commit: 5a34e5ca05798aaa96ad6e77bcb7cbf253aa3d7f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Aug 15 06:54:32 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Aug 15 06:54:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a34e5ca

media-libs/urt: Install a shared library.

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 .../urt/files/urt-3.1b-librle-toolchain.patch  |  60 +
 media-libs/urt/files/urt-3.1b-r2-build-fixes.patch | 139 +
 media-libs/urt/urt-3.1b-r2.ebuild  |  96 ++
 3 files changed, 295 insertions(+)

diff --git a/media-libs/urt/files/urt-3.1b-librle-toolchain.patch 
b/media-libs/urt/files/urt-3.1b-librle-toolchain.patch
new file mode 100644
index 000..19c492988a1
--- /dev/null
+++ b/media-libs/urt/files/urt-3.1b-librle-toolchain.patch
@@ -0,0 +1,60 @@
+--- a/lib/makefile.src
 b/lib/makefile.src
+@@ -5,10 +5,6 @@
+ DEST =
+ #endif
+ 
+-#ifndef NO_RANLIB
+-RANLIB = ranlib
+-#endif
+-
+ # If nothing else is specified, default is to build the library.
+ default: buildlib
+ 
+@@ -40,8 +36,8 @@
+   echo cp $(LIBNAME) $(DEST)/$(LIBNAME) ; \
+   cp $(LIBNAME) $(DEST)/$(LIBNAME) ; \
+   if test x$(RANLIB) != x ; then \
+-  echo ranlib $(DEST)/$(LIBNAME) ; \
+-  ranlib $(DEST)/$(LIBNAME) ; \
++  echo $(RANLIB) $(DEST)/$(LIBNAME) ; \
++  $(RANLIB) $(DEST)/$(LIBNAME) ; \
+   else \
+   true ; \
+   fi ; \
+@@ -49,11 +45,11 @@
+   echo cp $(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
+   if test x$(RANLIB) != x ; then \
+   cp $(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
+-  echo ranlib $(DEST)/debug/$(LIBNAME) ; \
++  echo $(RANLIB) $(DEST)/debug/$(LIBNAME) ; \
+   else \
+   true ; \
+   fi ; \
+-  ranlib $(DEST)/debug/$(LIBNAME) ; \
++  $(RANLIB) $(DEST)/debug/$(LIBNAME) ; \
+   else \
+   true ; \
+   fi ; \
+@@ -65,13 +61,18 @@
+ # Rebuild the library from all the .o files.
+ buildlib: $(OBJS)
+   -rm -f $(LIBNAME)
+-  ar rc $(LIBNAME)
+-  ar q $(LIBNAME) $(OBJS)
++  $(AR) rc $(LIBNAME) $(OBJS)
+ #ifndef NO_RANLIB
+-  ranlib $(LIBNAME)
++  $(RANLIB) $(LIBNAME)
+ #endif
+   touch buildlib
+ 
++# Gentoo wants dynamic linking
++buildlibso: $(OBJS)
++  -rm -f $(LIBNAME).so
++  $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=librle-0.0.0.so $(OBJS) 
-lm -o librle.so
++  touch buildlibso
++
+ # Clean up installed stuff and binaries
+ pristine: clean
+   -@if test $(DEST)X != X ; then \

diff --git a/media-libs/urt/files/urt-3.1b-r2-build-fixes.patch 
b/media-libs/urt/files/urt-3.1b-r2-build-fixes.patch
new file mode 100644
index 000..0463abec15d
--- /dev/null
+++ b/media-libs/urt/files/urt-3.1b-r2-build-fixes.patch
@@ -0,0 +1,139 @@
+some hosts are more anal about ar usage than others
+http://bugs.gentoo.org/107428
+
+respect user LDFLAGS
+http://bugs.gentoo.org/126872
+
+--- a/tools/clock/makefile.src
 b/tools/clock/makefile.src
+@@ -6,7 +6,7 @@ install: rleClock
+   mv rleClock ../rleClock.out
+ 
+ rleClock:rleClock.o font.o
+-  ${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
++  ${CC} ${CFLAGS} ${LDFLAGS} rleClock.o font.o ${LIBS} -o rleClock -lm
+ 
+ font.c:font.src makeFont
+   chmod +x makeFont
+--- a/tools/makefile.src
 b/tools/makefile.src
+@@ -62,21 +62,21 @@ applymap.out rlebg.out: $(RI)/rle_raw.h
+ pyrlib.o: pyrlib.c $(RI)/pyramid.h $(RI)/rle.h $(RI)/rle_config.h
+   $(CC) $(CFLAGS) pyrlib.c -c
+ pyrmask.out: pyrlib.o pyrmask.c $(RI)/pyramid.h
+-  $(CC) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o pyrmask.new
++  $(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o 
pyrmask.new
+   mv pyrmask.new pyrmask.out
+ 
+ fant.out: fant.o mallocNd.o
+-  $(CC) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o fant.new
++  $(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o 
fant.new
+   mv fant.new fant.out
+   
+ # rlebox and crop use some common code.
+ rle_box.o: $(RI)/rle.h $(RI)/rle_config.h $(RI)/rle_raw.h
+ 
+ crop.out: crop.c rle_box.o
+-  ${CC} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
++  ${CC} ${LDFLAGS} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
+   mv crop.new crop.out
+ rlebox.out: rlebox.c rle_box.o
+-  ${CC} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
++  ${CC} ${LDFLAGS} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
+   mv rlebox.new rlebox.out
+ 
+ # rleClock has it's own directory, must be built special
+@@ -100,7 +100,7 @@ clean: c

[gentoo-commits] repo/gentoo:master commit in: media-libs/urt/

2016-01-15 Thread Mike Frysinger
commit: d1e41072669108dff61f31f1aeb744bc93f45803
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Jan 15 20:34:24 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 15 20:35:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e41072

media-libs/urt: update to EAPI=5

 media-libs/urt/urt-3.1b-r1.ebuild | 29 -
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/media-libs/urt/urt-3.1b-r1.ebuild 
b/media-libs/urt/urt-3.1b-r1.ebuild
index cae6e3a..d625e2f 100644
--- a/media-libs/urt/urt-3.1b-r1.ebuild
+++ b/media-libs/urt/urt-3.1b-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI="5"
+
 inherit eutils toolchain-funcs
 
 DESCRIPTION="the Utah Raster Toolkit is a library for dealing with raster 
images"
@@ -13,12 +15,12 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 IUSE="gif postscript tiff X"
 
-DEPEND="X? ( x11-libs/libXext
-   x11-proto/xextproto
-   )
+RDEPEND="X? ( x11-libs/libXext )
gif? ( media-libs/giflib )
tiff? ( media-libs/tiff )
postscript? ( app-text/ghostscript-gpl )"
+DEPEND="${RDEPEND}
+   X? ( x11-proto/xextproto )"
 
 S=${WORKDIR}
 
@@ -26,16 +28,14 @@ urt_config() {
use $1 && echo "#define $2" || echo "##define $2"
 }
 
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
+src_prepare() {
rm -f bin/README
 
epatch "${FILESDIR}"/${P}-rle-fixes.patch
epatch "${FILESDIR}"/${P}-compile-updates.patch
epatch "${FILESDIR}"/${P}-tempfile.patch
epatch "${FILESDIR}"/${P}-build-fixes.patch
-   epatch "${FILESDIR}/${P}-make.patch"
+   epatch "${FILESDIR}"/${P}-make.patch
epatch "${FILESDIR}"/${P}-solaris.patch
 
# punt bogus manpage #109511
@@ -57,19 +57,22 @@ src_unpack() {
EOF
 }
 
-src_compile() {
+src_configure() {
./Configure config/gentoo || die "config"
-   emake CC=$(tc-getCC) || die "emake"
+}
+
+src_compile() {
+   emake CC=$(tc-getCC)
 }
 
 src_install() {
mkdir -p man-dest/man{1,3,5}
# this just installs it into some local dirs
make install || die
-   dobin bin/* || die "dobin"
-   dolib.a lib/librle.a || die "dolib.a"
+   dobin bin/*
+   dolib.a lib/librle.a
insinto /usr/include
-   doins include/rle*.h || die "doins include"
+   doins include/rle*.h
doman man-dest/man?/*.[135]
dodoc *-changes CHANGES* README blurb
 }