summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-11 09:38:36 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-11 09:38:36 +0000
commitd97593dd9f1309a3b41464b8b5f2381c078d28b6 (patch)
tree9e9853f296163bbc0f4183214328195841fc9c54 /media-video/xvattr/files
parentVersion bump. Old ebuild cleanup. (diff)
downloadgentoo-2-d97593dd9f1309a3b41464b8b5f2381c078d28b6.tar.gz
gentoo-2-d97593dd9f1309a3b41464b8b5f2381c078d28b6.tar.bz2
gentoo-2-d97593dd9f1309a3b41464b8b5f2381c078d28b6.zip
Port to GTK+-2.0.
(Portage version: 2.1.3.3)
Diffstat (limited to 'media-video/xvattr/files')
-rw-r--r--media-video/xvattr/files/digest-xvattr-1.3-r23
-rw-r--r--media-video/xvattr/files/xvattr-1.3-gtk.patch44
2 files changed, 47 insertions, 0 deletions
diff --git a/media-video/xvattr/files/digest-xvattr-1.3-r2 b/media-video/xvattr/files/digest-xvattr-1.3-r2
new file mode 100644
index 000000000000..863e412a0093
--- /dev/null
+++ b/media-video/xvattr/files/digest-xvattr-1.3-r2
@@ -0,0 +1,3 @@
+MD5 041e0d1f2ebce216e69e08ce78ec2ceb xvattr-1.3.tar.gz 82263
+RMD160 14dc247eb31e2eb7947089cebebba4443ef01ee0 xvattr-1.3.tar.gz 82263
+SHA256 1cedc0b4795e6f4234b1d52172f74d7163ecb8142fbb35dc86c905df5478d8fa xvattr-1.3.tar.gz 82263
diff --git a/media-video/xvattr/files/xvattr-1.3-gtk.patch b/media-video/xvattr/files/xvattr-1.3-gtk.patch
new file mode 100644
index 000000000000..2545aaddbf9f
--- /dev/null
+++ b/media-video/xvattr/files/xvattr-1.3-gtk.patch
@@ -0,0 +1,44 @@
+diff -ur xvattr-1.3.orig/configure.in xvattr-1.3/configure.in
+--- xvattr-1.3.orig/configure.in 2002-06-13 22:40:33.000000000 +0300
++++ xvattr-1.3/configure.in 2007-08-11 12:29:54.000000000 +0300
+@@ -17,7 +17,14 @@
+ AC_PATH_XTRA
+
+ dnl check for gtk
+-AM_PATH_GTK
++AC_ARG_WITH(gtk,
++ [--without-gtk Disable GTK support (default: enabled)])
++if test "x$with_gtk" != "xno"; then
++ AM_PATH_GTK_2_0
++else
++ no_gtk="yes"
++fi
++AM_CONDITIONAL(WITH_GTK, [test "x$no_gtk" != "xyes"])
+
+ dnl Checks for libraries.
+ AC_ARG_WITH(xv-path,[ --with-xv-path=path Where libXv is installed],
+diff -ur xvattr-1.3.orig/Makefile.am xvattr-1.3/Makefile.am
+--- xvattr-1.3.orig/Makefile.am 2002-06-13 22:22:00.000000000 +0300
++++ xvattr-1.3/Makefile.am 2007-08-11 12:31:42.000000000 +0300
+@@ -1,12 +1,19 @@
+ #
+
+-bin_PROGRAMS = xvattr gxvattr
++if WITH_GTK
++gtk_programs = gxvattr
++endif
++
++bin_PROGRAMS = xvattr $(gtk_programs)
++
+ xvattr_SOURCES = xvattr.c
+
+ xvattr_LDADD = $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext @LIBOBJS@
+
+ gxvattr_SOURCES = gxvattr.c
+-CFLAGS = @GTK_CFLAGS@
++
++gxvattr_CFLAGS = @GTK_CFLAGS@
++
+ gxvattr_LDADD = @GTK_LIBS@ $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext
+ noinst_HEADERS = getopt.h
+