pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics x11rec: remove, broken with current ruby vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6225a9de3ca
branches:  trunk
changeset: 453028:e6225a9de3ca
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 21 16:38:58 2021 +0000

description:
x11rec: remove, broken with current ruby versions, broken CONFLICTS, etc

diffstat:

 graphics/Makefile                |   3 +-
 graphics/x11rec/DESCR            |   4 ---
 graphics/x11rec/Makefile         |  50 ----------------------------------------
 graphics/x11rec/PLIST            |   4 ---
 graphics/x11rec/distinfo         |   7 -----
 graphics/x11rec/patches/patch-aa |  42 ---------------------------------
 6 files changed, 1 insertions(+), 109 deletions(-)

diffs (144 lines):

diff -r 808b86d0809a -r e6225a9de3ca graphics/Makefile
--- a/graphics/Makefile Fri May 21 15:41:00 2021 +0000
+++ b/graphics/Makefile Fri May 21 16:38:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.934 2021/05/20 20:19:17 nia Exp $
+# $NetBSD: Makefile,v 1.935 2021/05/21 16:38:58 nia Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -820,7 +820,6 @@
 SUBDIR+=       wm-icons
 SUBDIR+=       wmphoto
 SUBDIR+=       wxsvg
-SUBDIR+=       x11rec
 SUBDIR+=       xart
 SUBDIR+=       xbmbrowser
 SUBDIR+=       xdot
diff -r 808b86d0809a -r e6225a9de3ca graphics/x11rec/DESCR
--- a/graphics/x11rec/DESCR     Fri May 21 15:41:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-x11rec is a very ad hoc X11 recorder which creates a movie.
-x11rec sequentially runs xwd to capture a sequence of window images and finally
-creates a movie file in an MNG or animated GIF format with ImageMagick and
-Gifsicle.
diff -r 808b86d0809a -r e6225a9de3ca graphics/x11rec/Makefile
--- a/graphics/x11rec/Makefile  Fri May 21 15:41:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-# $NetBSD: Makefile,v 1.45 2021/04/21 13:24:50 adam Exp $
-#
-
-DISTNAME=      x11rec-0.3
-PKGNAME=       ${RUBY_PKGPREFIX}-x11rec-0.3
-PKGREVISION=   32
-CATEGORIES=    graphics ruby
-MASTER_SITES=  http://0xcc.net/x11rec/
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://0xcc.net/x11rec/
-COMMENT=       Very ad hoc X11 recorder which create a movie
-LICENSE=       gnu-gpl-v2
-
-DEPENDS+=      gifsicle-[0-9]*:../../graphics/gifsicle
-
-.include "../../mk/bsd.prefs.mk"
-.if ${X11_TYPE} == "modular"
-DEPENDS+=      xwd-[0-9]*:../../x11/xwd
-DEPENDS+=      xwininfo-[0-9]*:../../x11/xwininfo
-.endif
-
-CONFLICTS+=    ruby[1-9][0-9]-x11rec-[0-9]* x11rec-[0-9]*
-
-NO_BUILD=      yes
-REPLACE_RUBY=  x11rec
-
-INSTALLATION_DIRS=     bin share/doc/x11rec
-
-do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \
-               ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.en
-       ${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \
-               ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.ja
-
-.include "../../lang/ruby/replace.mk"
-DEPENDS+=      ${RUBY_BASE}-[0-9]*:${RUBY_SRCDIR}
-
-SUBST_CLASSES+=                toolpath
-SUBST_STAGE.toolpath=  pre-configure
-SUBST_MESSAGE.toolpath=        Fixing paths.
-SUBST_FILES.toolpath=  x11rec
-SUBST_SED.toolpath=    -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|"
-SUBST_SED.toolpath+=   -e "s|@xwd@|${X11BASE}/bin/xwd|"
-SUBST_SED.toolpath+=   -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|"
-SUBST_SED.toolpath+=   -e "s|@gifsicle@|${LOCALBASE}/bin/gifsicle|"
-
-.include "../../graphics/ImageMagick/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 808b86d0809a -r e6225a9de3ca graphics/x11rec/PLIST
--- a/graphics/x11rec/PLIST     Fri May 21 15:41:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:59:31 joerg Exp $
-bin/x11rec
-share/doc/x11rec/index.html.en
-share/doc/x11rec/index.html.ja
diff -r 808b86d0809a -r e6225a9de3ca graphics/x11rec/distinfo
--- a/graphics/x11rec/distinfo  Fri May 21 15:41:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 21:34:35 agc Exp $
-
-SHA1 (x11rec-0.3.tar.gz) = c8f9d5ac9f80424c59adc3eba9fc333d90665e25
-RMD160 (x11rec-0.3.tar.gz) = f942af6462cda842dc96089680f4a1a10ddaa255
-SHA512 (x11rec-0.3.tar.gz) = 4fd54fc915ef0513517d1c7881b12e4881edb3d13a84eb2d36dab8f6693d04ed7eee8ade006b093a11e9ce6280670d8fd4decee2de0259b9df2d8c76f9bb5c11
-Size (x11rec-0.3.tar.gz) = 3758 bytes
-SHA1 (patch-aa) = 4ac6fbb5613ed346e8bae054c8638fc13f718a1f
diff -r 808b86d0809a -r e6225a9de3ca graphics/x11rec/patches/patch-aa
--- a/graphics/x11rec/patches/patch-aa  Fri May 21 15:41:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/05/05 20:03:55 xtraeme Exp $
-
---- x11rec.orig        2001-06-08 04:13:02.000000000 +0900
-+++ x11rec
-@@ -40,7 +40,7 @@ class Xrecorder
- 
-   def target
-     $stderr.puts "** Select an X window with a mouse. **" 
--    IO.popen("xwininfo").each do |line|
-+    IO.popen("@xwininfo@").each do |line|
-       if /id: (\S+)/ =~ line then
-       @id = $1
-       end
-@@ -54,7 +54,7 @@ class Xrecorder
-     while true
-       tmp1 = sprintf "%s.1.%06d", @tmpprefix, @frames # may be broken.
-       tmp2 = sprintf "%s.2.%06d", @tmpprefix, @frames # safe to use.
--      system "xwd -silent -id #{@id} > #{tmp1}"
-+      system "@xwd@ -silent -id #{@id} > #{tmp1}"
-       File.rename tmp1, tmp2
-       @frames += 1
-       printf "frames: %d\r", @frames
-@@ -73,16 +73,16 @@ class Xrecorder
-     files.each_with_index do |file, i|
-       $stderr.printf "converting each xwd file into a gif file: %d/%d\r",
-       i + 1, files.length
--      system "convert #{file} #{file}.gif"
-+      system "@convert@ #{file} #{file}.gif"
-     end
-     puts
- 
-     $stderr.puts "creating the resulting movie file..."
--    system "gifsicle --colors 256 -O2 --delay #{delay} #{@tmpprefix}.2.*.gif > #{tmpgif2}"
-+    system "@gifsicle@ --colors 256 -O2 --delay #{delay} #{@tmpprefix}.2.*.gif > #{tmpgif2}"
- 
-     if /^(.*)\.mng$/ =~ @filename then
-       # create MNG with ImageMagick if needed.
--      system "convert #{tmpgif2} #{@filename}"
-+      system "@convert@ #{tmpgif2} #{@filename}"
-     else
-       # just rename the temporary file.
-       File.rename tmpgif2, @filename



Home | Main Index | Thread Index | Old Index