mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-21 18:45:51 +01:00
initial import
This commit is contained in:
1219
x11-libs/gtk+/ChangeLog
Normal file
1219
x11-libs/gtk+/ChangeLog
Normal file
File diff suppressed because it is too large
Load Diff
44
x11-libs/gtk+/Manifest
Normal file
44
x11-libs/gtk+/Manifest
Normal file
@@ -0,0 +1,44 @@
|
||||
AUX gtk+-1.2-locale_fix.patch 419 RMD160 a0fbf3fb111f39b7a62c3fa31a803ef2a0ee945a SHA1 569c877ff692a7694e8aca5aceae9558844ba5dd SHA256 2e3cf84902d2f318dcbf4f9ad976573295d8d984c7a860291f37f768fc7966cb
|
||||
MD5 5e3ff7fa761495300d3f30c9207c13f8 files/gtk+-1.2-locale_fix.patch 419
|
||||
RMD160 a0fbf3fb111f39b7a62c3fa31a803ef2a0ee945a files/gtk+-1.2-locale_fix.patch 419
|
||||
SHA256 2e3cf84902d2f318dcbf4f9ad976573295d8d984c7a860291f37f768fc7966cb files/gtk+-1.2-locale_fix.patch 419
|
||||
AUX gtk+-1.2.10-as-needed.patch 19865 RMD160 17c6b5d447b2d1c56fcc89dad676156caf0d700e SHA1 1027f38d29492c6f77205fc40992d8e625da8dbe SHA256 0864194a1e2be5f1b3df91d7dceb50bbe038fbb29f24901891c22829d55d4da7
|
||||
MD5 01aa21ac7a54f5647ad71011b05f300f files/gtk+-1.2.10-as-needed.patch 19865
|
||||
RMD160 17c6b5d447b2d1c56fcc89dad676156caf0d700e files/gtk+-1.2.10-as-needed.patch 19865
|
||||
SHA256 0864194a1e2be5f1b3df91d7dceb50bbe038fbb29f24901891c22829d55d4da7 files/gtk+-1.2.10-as-needed.patch 19865
|
||||
AUX gtk+-1.2.10-m4.patch 220 RMD160 c3f0ac9022a32aeef80ccf77493779fd58884b10 SHA1 898e6846de5d4c57ecc2e2503ed56355324fd2ee SHA256 88f45c2f0413f29d62ca138c87b41d24a73b47456f5b469277843de827717324
|
||||
MD5 0ec83a4bf20f79d85eb2976b58c39465 files/gtk+-1.2.10-m4.patch 220
|
||||
RMD160 c3f0ac9022a32aeef80ccf77493779fd58884b10 files/gtk+-1.2.10-m4.patch 220
|
||||
SHA256 88f45c2f0413f29d62ca138c87b41d24a73b47456f5b469277843de827717324 files/gtk+-1.2.10-m4.patch 220
|
||||
AUX gtk+-gdk-pixbuf-testfix.patch 578 RMD160 317120af2683d5ac6119a89745b38f71b0581e40 SHA1 19117bf9b667799dce0f319a76354ab615125cec SHA256 f1fb49b3a93db10bdf6f29a641d5bdb6ebb96956623f0492a52efebdfa238fb2
|
||||
MD5 9ea5c063ade44a46b279eab398fc969a files/gtk+-gdk-pixbuf-testfix.patch 578
|
||||
RMD160 317120af2683d5ac6119a89745b38f71b0581e40 files/gtk+-gdk-pixbuf-testfix.patch 578
|
||||
SHA256 f1fb49b3a93db10bdf6f29a641d5bdb6ebb96956623f0492a52efebdfa238fb2 files/gtk+-gdk-pixbuf-testfix.patch 578
|
||||
AUX gtkrc 627 RMD160 3171e0c9132bb2a9119c51750702db23c4a5f076 SHA1 cdb4665e94e1b9e8bc3985390eecca463469c3b3 SHA256 22e4197e5976ed623233399049082383033b613176d77126d246a1f6cb747294
|
||||
MD5 36d00cf3b4035e6cb9873ade9ed1a9ce files/gtkrc 627
|
||||
RMD160 3171e0c9132bb2a9119c51750702db23c4a5f076 files/gtkrc 627
|
||||
SHA256 22e4197e5976ed623233399049082383033b613176d77126d246a1f6cb747294 files/gtkrc 627
|
||||
DIST gtk+-1.2.10-r8-gentoo.diff.bz2 81223 RMD160 fa41bb12e41f0c60c605dbeac03a1aaa905f4333 SHA1 7350d1ed147e52ddc870a4d4b52073f7407d9f0d SHA256 517bdadbaa0e13285b2d72a667b311219342306d4f68d838c3c1dbc5bfbf1684
|
||||
DIST gtk+-1.2.10.tar.gz 2868322 RMD160 9b38310d2768e947c4f6173db009243dd11db288 SHA1 a5adcb909257da01ae4d4761e1d41081d06e4d7c SHA256 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34
|
||||
EBUILD gtk+-1.2.10-r11.ebuild 2033 RMD160 24ec6feebfce673f0a81af1905963741f8e073de SHA1 a2d36149fb707fe5cb82a85f01d628d482ee6162 SHA256 b581707ebeb94e69954bd080234d2667b8e8c9aa90b933df8c8677d41628b697
|
||||
MD5 2f736fc4a5ca2d7d68e746063414ea85 gtk+-1.2.10-r11.ebuild 2033
|
||||
RMD160 24ec6feebfce673f0a81af1905963741f8e073de gtk+-1.2.10-r11.ebuild 2033
|
||||
SHA256 b581707ebeb94e69954bd080234d2667b8e8c9aa90b933df8c8677d41628b697 gtk+-1.2.10-r11.ebuild 2033
|
||||
EBUILD gtk+-1.2.10-r12.ebuild 2320 RMD160 e969b3b74e831d40799ea1bdfbe08a1eb03882a5 SHA1 bb5e2a4477553301690123a93080534a1f02cd69 SHA256 47548266fb2307527b5c373c75099589b48ee3c8b30cbae394a7246e3d869d03
|
||||
MD5 58664054a0d023536e4326c1c52e21b1 gtk+-1.2.10-r12.ebuild 2320
|
||||
RMD160 e969b3b74e831d40799ea1bdfbe08a1eb03882a5 gtk+-1.2.10-r12.ebuild 2320
|
||||
SHA256 47548266fb2307527b5c373c75099589b48ee3c8b30cbae394a7246e3d869d03 gtk+-1.2.10-r12.ebuild 2320
|
||||
MISC ChangeLog 40235 RMD160 cc2ec659794ae7b1de65ef35196f4ea626b59913 SHA1 fa9d49b305cbaec976f3e3b9f9c68d2b8bf1fbd6 SHA256 009232bb3aff0c625c267c3dc466d6c81c143155fc16212d5a106bef74c32deb
|
||||
MD5 50d7ad82b8011008a2870fafcb9393d0 ChangeLog 40235
|
||||
RMD160 cc2ec659794ae7b1de65ef35196f4ea626b59913 ChangeLog 40235
|
||||
SHA256 009232bb3aff0c625c267c3dc466d6c81c143155fc16212d5a106bef74c32deb ChangeLog 40235
|
||||
MISC metadata.xml 424 RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 SHA1 2e7dc93c7931af2139609dfb75dd38101a45d62a SHA256 8b65272928e676824c407ed438004d9e5d50077a09beee0b60984eadb695bc2d
|
||||
MD5 58b5c1a403ab43f5160c44c32761cbe0 metadata.xml 424
|
||||
RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 metadata.xml 424
|
||||
SHA256 8b65272928e676824c407ed438004d9e5d50077a09beee0b60984eadb695bc2d metadata.xml 424
|
||||
MD5 9a443de5999df036ffd6e66f5b0f83ce files/digest-gtk+-1.2.10-r11 506
|
||||
RMD160 45ddc3e7c5ca97084139787b6be318498a9965db files/digest-gtk+-1.2.10-r11 506
|
||||
SHA256 4bd7f7ef31547e6dabca532b07bc6be7e37c96d234abd2818afbb85d725aed47 files/digest-gtk+-1.2.10-r11 506
|
||||
MD5 9a443de5999df036ffd6e66f5b0f83ce files/digest-gtk+-1.2.10-r12 506
|
||||
RMD160 45ddc3e7c5ca97084139787b6be318498a9965db files/digest-gtk+-1.2.10-r12 506
|
||||
SHA256 4bd7f7ef31547e6dabca532b07bc6be7e37c96d234abd2818afbb85d725aed47 files/digest-gtk+-1.2.10-r12 506
|
||||
6
x11-libs/gtk+/files/digest-gtk+-1.2.10-r11
Normal file
6
x11-libs/gtk+/files/digest-gtk+-1.2.10-r11
Normal file
@@ -0,0 +1,6 @@
|
||||
MD5 0ae8dcec20e0fa6dbc022d5eb00dc2a3 gtk+-1.2.10-r8-gentoo.diff.bz2 81223
|
||||
RMD160 fa41bb12e41f0c60c605dbeac03a1aaa905f4333 gtk+-1.2.10-r8-gentoo.diff.bz2 81223
|
||||
SHA256 517bdadbaa0e13285b2d72a667b311219342306d4f68d838c3c1dbc5bfbf1684 gtk+-1.2.10-r8-gentoo.diff.bz2 81223
|
||||
MD5 4d5cb2fc7fb7830e4af9747a36bfce20 gtk+-1.2.10.tar.gz 2868322
|
||||
RMD160 9b38310d2768e947c4f6173db009243dd11db288 gtk+-1.2.10.tar.gz 2868322
|
||||
SHA256 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34 gtk+-1.2.10.tar.gz 2868322
|
||||
4
x11-libs/gtk+/files/digest-gtk+-1.2.10-r12
Normal file
4
x11-libs/gtk+/files/digest-gtk+-1.2.10-r12
Normal file
@@ -0,0 +1,4 @@
|
||||
RMD160 fa41bb12e41f0c60c605dbeac03a1aaa905f4333 gtk+-1.2.10-r8-gentoo.diff.bz2 81223
|
||||
SHA256 517bdadbaa0e13285b2d72a667b311219342306d4f68d838c3c1dbc5bfbf1684 gtk+-1.2.10-r8-gentoo.diff.bz2 81223
|
||||
RMD160 9b38310d2768e947c4f6173db009243dd11db288 gtk+-1.2.10.tar.gz 2868322
|
||||
SHA256 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34 gtk+-1.2.10.tar.gz 2868322
|
||||
19
x11-libs/gtk+/files/gtk+-1.2-locale_fix.patch
Normal file
19
x11-libs/gtk+/files/gtk+-1.2-locale_fix.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- gtk/gtkrc.c.~1.40.2.17.~ 2001-07-10 20:06:35.000000000 +0200
|
||||
+++ gtk/gtkrc.c 2003-03-05 16:56:10.000000000 +0100
|
||||
@@ -453,7 +453,7 @@
|
||||
|
||||
if (!initted)
|
||||
{
|
||||
- char *locale = setlocale (LC_CTYPE, NULL);
|
||||
+ char *locale = g_strdup (setlocale (LC_CTYPE, NULL));
|
||||
char *p;
|
||||
|
||||
initted = TRUE;
|
||||
@@ -558,6 +558,7 @@
|
||||
|
||||
if (tmp) g_free (tmp);
|
||||
}
|
||||
+ g_free (locale);
|
||||
}
|
||||
|
||||
i = 0;
|
||||
696
x11-libs/gtk+/files/gtk+-1.2.10-as-needed.patch
Normal file
696
x11-libs/gtk+/files/gtk+-1.2.10-as-needed.patch
Normal file
@@ -0,0 +1,696 @@
|
||||
--- gtk+-1.2.10/acinclude.m4.orig 2006-05-24 23:23:51.000000000 -0700
|
||||
+++ gtk+-1.2.10/acinclude.m4 2006-05-24 23:23:19.000000000 -0700
|
||||
@@ -672,7 +672,7 @@
|
||||
AC_DEFINE(HAVE_STPCPY)
|
||||
fi
|
||||
|
||||
- AM_LC_MESSAGES
|
||||
+ gt_LC_MESSAGES
|
||||
AM_GTK_WITH_NLS
|
||||
|
||||
if test "x$CATOBJEXT" != "x"; then
|
||||
--- gtk+-1.2.10/gtk.m4.orig 2006-05-24 23:32:00.000000000 -0700
|
||||
+++ gtk+-1.2.10/gtk.m4 2006-05-24 23:36:16.000000000 -0700
|
||||
@@ -1,6 +1,11 @@
|
||||
# Configure paths for GTK+
|
||||
# Owen Taylor 97-11-3
|
||||
-
|
||||
+AC_DEFUN([GTK_AC_DIVERT_BEFORE_HELP],
|
||||
+[ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])],
|
||||
+ [ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])],
|
||||
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
+$1
|
||||
+AC_DIVERT_POP()])])])
|
||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
--- gtk+-1.2.10/configure.in.orig 2006-05-25 05:45:06.000000000 -0700
|
||||
+++ gtk+-1.2.10/configure.in 2006-05-25 05:44:08.000000000 -0700
|
||||
@@ -1,6 +1,8 @@
|
||||
+builtin(include,gtk.m4)
|
||||
+
|
||||
+
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(gdk/gdktypes.h)
|
||||
-
|
||||
# In the following, there are a the following variants
|
||||
# of GLib cflags and libs variables
|
||||
#
|
||||
@@ -12,12 +14,11 @@
|
||||
# glib_thread_cflags: cflags to store in gtk-config for gtk-config gthread
|
||||
# glib_thread_libs: libs to store in gtk-config for gtk-config gthread
|
||||
|
||||
+AC_CANONICAL_TARGET
|
||||
# Save this value here, since automake will set cflags later
|
||||
cflags_set=${CFLAGS+set}
|
||||
|
||||
-dnl we need to AC_DIVERT_PUSH/AC_DIVERT_POP these variable definitions so they
|
||||
-dnl are available for $ac_help expansion (don't we all *love* autoconf?)
|
||||
-AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
+GTK_AC_DIVERT_BEFORE_HELP([
|
||||
#
|
||||
# Making releases:
|
||||
# GTK_MICRO_VERSION += 1;
|
||||
@@ -32,9 +33,8 @@
|
||||
GTK_MICRO_VERSION=10
|
||||
GTK_INTERFACE_AGE=1
|
||||
GTK_BINARY_AGE=10
|
||||
-GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
|
||||
-dnl
|
||||
-AC_DIVERT_POP()dnl
|
||||
+GTK_VERSION="$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION"
|
||||
+])
|
||||
|
||||
AC_SUBST(GTK_MAJOR_VERSION)
|
||||
AC_SUBST(GTK_MINOR_VERSION)
|
||||
@@ -44,9 +44,9 @@
|
||||
AC_SUBST(GTK_VERSION)
|
||||
|
||||
# libtool versioning
|
||||
-LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
||||
+LT_RELEASE="$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION"
|
||||
LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
|
||||
-LT_REVISION=$GTK_INTERFACE_AGE
|
||||
+LT_REVISION="$GTK_INTERFACE_AGE"
|
||||
LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
|
||||
AC_SUBST(LT_RELEASE)
|
||||
AC_SUBST(LT_CURRENT)
|
||||
@@ -54,11 +54,8 @@
|
||||
AC_SUBST(LT_AGE)
|
||||
|
||||
# For automake.
|
||||
-VERSION=$GTK_VERSION
|
||||
-PACKAGE=gtk+
|
||||
-
|
||||
-# Save this value here, since automake will set cflags later
|
||||
-cflags_set=${CFLAGS+set}
|
||||
+VERSION="$GTK_VERSION"
|
||||
+PACKAGE="gtk+"
|
||||
|
||||
dnl Initialize automake stuff
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
|
||||
@@ -67,42 +64,40 @@
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl Initialize libtool
|
||||
-AM_PROG_LIBTOOL
|
||||
+AC_PROG_LIBTOOL
|
||||
|
||||
dnl Initialize maintainer mode
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
-AC_CANONICAL_HOST
|
||||
-
|
||||
dnl figure debugging default, prior to $ac_help setup
|
||||
-dnl
|
||||
-AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
+
|
||||
+GTK_AC_DIVERT_BEFORE_HELP([
|
||||
if test `expr $GTK_MINOR_VERSION \% 2` = 1 ; then
|
||||
- debug_default=yes
|
||||
+ debug_default="yes"
|
||||
else
|
||||
- debug_default=minimum
|
||||
+ debug_default="minimum"
|
||||
fi
|
||||
-AC_DIVERT_POP()dnl
|
||||
-
|
||||
+])
|
||||
dnl declare --enable-* args and collect ac_help strings
|
||||
-AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default)
|
||||
+AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,
|
||||
+ [enable_debug="$debug_default"])
|
||||
AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]],
|
||||
- echo $enable_shm, enable_shm="yes")
|
||||
-AC_ARG_ENABLE(ansi, [ --enable-ansi turn on strict ansi [default=no]],
|
||||
- , enable_ansi=no)
|
||||
+ [echo "$enable_shm"],[enable_shm="yes"])
|
||||
+AC_ARG_ENABLE(ansi, [ --enable-ansi turn on strict ansi [default=no]],,[enable_ansi="no"])
|
||||
AC_ARG_WITH(glib, [ --with-glib=DIR Use uninstalled copy of glib])
|
||||
-AC_ARG_ENABLE(xim, [ --enable-xim support XIM [default=yes]],
|
||||
- , enable_xim="yes")
|
||||
-AC_ARG_ENABLE(xim_inst, [ --disable-xim-inst does not use xim instantiate callback],
|
||||
- , enable_xim_inst="maybe")
|
||||
-AC_ARG_ENABLE(rebuilds, [ --disable-rebuilds disable all source autogeneration rules],,enable_rebuilds=yes)
|
||||
+AC_ARG_ENABLE(xim, [ --enable-xim support XIM [default=yes]],,[enable_xim="yes"])
|
||||
+AC_ARG_ENABLE(xim_inst, [ --disable-xim-inst does not use xim instantiate callback],,
|
||||
+ [enable_xim_inst="maybe"])
|
||||
+AC_ARG_ENABLE(rebuilds, [ --disable-rebuilds disable all source autogeneration rules],,
|
||||
+ [enable_rebuilds="yes"])
|
||||
AC_ARG_WITH(locale, [ --with-locale=LOCALE locale name you want to use ])
|
||||
-
|
||||
AC_ARG_WITH(xinput, [ --with-xinput=[no/gxi/xfree] support XInput ])
|
||||
-AC_ARG_WITH(native_locale, [ --with-native-locale=[yes/no] Use native locale support [default=no]],,with_native_locale=no)
|
||||
+AC_ARG_WITH(native_locale, [ --with-native-locale=[yes/no] Use native locale support [default=no]],,
|
||||
+ [with_native_locale="no"])
|
||||
+
|
||||
|
||||
if test "x$enable_debug" = "xyes"; then
|
||||
- test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
|
||||
+ test "$cflags_set" = "set" || CFLAGS="$CFLAGS -g"
|
||||
GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
|
||||
else
|
||||
if test "x$enable_debug" = "xno"; then
|
||||
@@ -113,16 +108,14 @@
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(GTK_COMPILED_WITH_DEBUGGING, "${enable_debug}")
|
||||
-
|
||||
# Build time sanity check...
|
||||
AM_SANITY_CHECK
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_ISC_POSIX
|
||||
-AM_PROG_CC_STDC
|
||||
+AC_PROG_CC_STDC
|
||||
AC_PROG_INSTALL
|
||||
-AC_PROG_MAKE_SET
|
||||
|
||||
changequote(,)dnl
|
||||
if test "x$GCC" = "xyes"; then
|
||||
@@ -144,7 +137,6 @@
|
||||
fi
|
||||
fi
|
||||
changequote([,])dnl
|
||||
-
|
||||
# Honor aclocal flags
|
||||
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
|
||||
|
||||
@@ -158,8 +150,7 @@
|
||||
AC_CHECK_PROG(INDENT, indent, indent)
|
||||
|
||||
REBUILD=\#
|
||||
-if test "x$enable_rebuilds" = "xyes" && \
|
||||
- test -n "$PERL" && \
|
||||
+if test "x$enable_rebuilds" = "xyes" && test -n "$PERL" && \
|
||||
$PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
|
||||
test -n "$AWK" ; then
|
||||
REBUILD=
|
||||
@@ -194,55 +185,58 @@
|
||||
|
||||
dnl Check for nl_langinfo and CODESET
|
||||
AC_MSG_CHECKING([for nl_langinfo (CODESET)])
|
||||
-AC_TRY_COMPILE([#include <langinfo.h>],
|
||||
+AC_TRY_COMPILE([#include <langinfo.h>
|
||||
+ ],
|
||||
[char *codeset = nl_langinfo (CODESET);],
|
||||
AC_DEFINE(HAVE_CODESET,1,[Have nl_langinfo (CODESET)])
|
||||
- have_codeset=yes,
|
||||
- have_codeset=no)
|
||||
+ have_codeset="yes",
|
||||
+ have_codeset="no"
|
||||
+)
|
||||
AC_MSG_RESULT($have_codeset)
|
||||
|
||||
dnl The DU4 header files don't provide library prototypes unless
|
||||
dnl -std1 is given to the native cc.
|
||||
AC_MSG_CHECKING([for extra flags to get ANSI library prototypes])
|
||||
|
||||
-gtk_save_LIBS=$LIBS
|
||||
+gtk_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lm"
|
||||
AC_TRY_RUN([#include <math.h>
|
||||
int main (void) { return (log(1) != log(1.)); }],
|
||||
AC_MSG_RESULT(none needed),
|
||||
- gtk_save_CFLAGS=$CFLAGS
|
||||
+ [gtk_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -std1"
|
||||
AC_TRY_RUN([#include <math.h>
|
||||
int main (void) { return (log(1) != log(1.)); }],
|
||||
AC_MSG_RESULT(-std1),
|
||||
AC_MSG_RESULT()
|
||||
- CFLAGS=$gtk_save_CFLAGS
|
||||
- AC_MSG_WARN(
|
||||
- [No ANSI prototypes found in library. (-std1 didn't work.)]),
|
||||
- true
|
||||
- ),
|
||||
+ CFLAGS="$gtk_save_CFLAGS"
|
||||
+ AC_MSG_WARN([No ANSI prototypes found in library. (-std1 didn't work.)]),
|
||||
+ true)],
|
||||
AC_MSG_RESULT(none needed)
|
||||
)
|
||||
-LIBS=$gtk_save_LIBS
|
||||
+LIBS="$gtk_save_LIBS"
|
||||
|
||||
dnl NeXTStep cc seems to need this
|
||||
AC_MSG_CHECKING([for extra flags for POSIX compliance])
|
||||
-AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
|
||||
+AC_TRY_COMPILE([#include <dirent.h>
|
||||
+ ],[DIR *dir;],
|
||||
AC_MSG_RESULT(none needed),
|
||||
- gtk_save_CFLAGS=$CFLAGS
|
||||
+ [gtk_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -posix"
|
||||
- AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
|
||||
+ AC_TRY_COMPILE([#include <dirent.h>
|
||||
+ ],[DIR *dir;],
|
||||
AC_MSG_RESULT(-posix),
|
||||
AC_MSG_RESULT()
|
||||
- CFLAGS=$gtk_save_CFLAGS
|
||||
- AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
|
||||
+ CFLAGS="$gtk_save_CFLAGS"
|
||||
+ AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])]))
|
||||
|
||||
-if test x$with_glib = xyes ; then
|
||||
- AC_MSG_ERROR([
|
||||
-*** Directory must be specified for --with-glib])
|
||||
+
|
||||
+
|
||||
+if test "x$with_glib" = "xyes" ; then
|
||||
+ AC_MSG_ERROR([*** Directory must be specified for --with-glib])
|
||||
fi
|
||||
|
||||
-if test x$with_glib = x ; then
|
||||
+if test "x$with_glib" = "x" ; then
|
||||
# Look for separately installed glib
|
||||
|
||||
AM_PATH_GLIB(1.2.8,,
|
||||
@@ -261,7 +255,7 @@
|
||||
else
|
||||
# Use uninstalled glib (assume they got the version right)
|
||||
|
||||
- GLIB_CONFIG=$with_glib/glib-config
|
||||
+ GLIB_CONFIG="$with_glib/glib-config"
|
||||
if test -x $GLIB_CONFIG ; then
|
||||
:
|
||||
else
|
||||
@@ -277,9 +271,9 @@
|
||||
glib_release=`$GLIB_CONFIG --version | sed 's%\\.[[0-9]]*$%%'`
|
||||
|
||||
# canonicalize relative paths
|
||||
- case $with_glib in
|
||||
+ case "$with_glib" in
|
||||
/*)
|
||||
- glib_dir=$with_glib
|
||||
+ glib_dir="$with_glib"
|
||||
;;
|
||||
*)
|
||||
glib_dir="\$(top_builddir)/$with_glib"
|
||||
@@ -312,61 +306,56 @@
|
||||
saved_ldflags="$LDFLAGS"
|
||||
|
||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
-LDFLAGS="$LDFLAGS $X_LDFLAGS $X_LIBS"
|
||||
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
|
||||
|
||||
if test "x$no_x" = "xyes"; then
|
||||
AC_MSG_ERROR([
|
||||
*** X libraries or include files not found. Check 'config.log' for
|
||||
*** more details.])
|
||||
fi
|
||||
-
|
||||
# Checks for libraries.
|
||||
# Check for the X11 library
|
||||
-AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS",
|
||||
+AC_CHECK_LIB(X11,XOpenDisplay,
|
||||
+ x_libs="-lX11 $X_EXTRA_LIBS",
|
||||
AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]),
|
||||
- $X_EXTRA_LIBS)
|
||||
-
|
||||
+ $X_EXTRA_LIBS
|
||||
+)
|
||||
if test "x$enable_shm" = "xyes"; then
|
||||
# Check for the Xext library (needed for XShm extention)
|
||||
AC_CHECK_LIB(Xext, XShmAttach,
|
||||
x_libs="-lXext $x_libs",
|
||||
# On AIX, it is in XextSam instead, but we still need -lXext
|
||||
- AC_CHECK_LIB(XextSam, XShmAttach,
|
||||
+ [AC_CHECK_LIB(XextSam, XShmAttach,
|
||||
x_libs="-lXextSam -lXext $x_libs",
|
||||
- no_xext_lib=yes, $x_libs),
|
||||
- $x_libs)
|
||||
+ no_xext_lib="yes",
|
||||
+ $x_libs
|
||||
+ )],
|
||||
+ $x_libs
|
||||
+ )
|
||||
fi
|
||||
-
|
||||
# Check for shaped window extension
|
||||
-
|
||||
AC_CHECK_LIB(Xext, XShapeCombineMask,
|
||||
- if test -z "`echo $x_libs | grep "\-lXext" 2> /dev/null`"; then
|
||||
+ if test -z "`echo $x_libs | grep \-lXext 2> /dev/null`"; then
|
||||
x_libs="-lXext $x_libs"
|
||||
fi
|
||||
- AC_DEFINE(HAVE_SHAPE_EXT),
|
||||
- ,
|
||||
- $x_libs)
|
||||
-
|
||||
+ AC_DEFINE(HAVE_SHAPE_EXT),,
|
||||
+ $x_libs
|
||||
+)
|
||||
# Check for XConvertCase (X11R6 specific)
|
||||
-
|
||||
AC_CHECK_LIB(X11, XConvertCase,
|
||||
- AC_DEFINE(HAVE_XCONVERTCASE),
|
||||
- ,
|
||||
- $x_libs)
|
||||
-
|
||||
+ AC_DEFINE(HAVE_XCONVERTCASE),,
|
||||
+ $x_libs
|
||||
+)
|
||||
# Check for XIM support.
|
||||
-
|
||||
-AC_CHECK_LIB(X11, XUnregisterIMInstantiateCallback,
|
||||
- : ,
|
||||
+AC_CHECK_LIB(X11, XUnregisterIMInstantiateCallback,,
|
||||
enable_xim_inst="no",
|
||||
- $x_libs)
|
||||
-
|
||||
+ $x_libs
|
||||
+)
|
||||
# On Solaris, calling XRegisterIMInstantiateCallback seems to
|
||||
# cause an immediate segfault, so we disable it, unless
|
||||
# the user specifically forces it to be on.
|
||||
-
|
||||
-if test x$enable_xim_inst = xmaybe ; then
|
||||
- case host in
|
||||
+if test "x$enable_xim_inst" = "xmaybe" ; then
|
||||
+ case "$host" in
|
||||
*-*-solaris*)
|
||||
enable_xim_inst="no"
|
||||
;;
|
||||
@@ -384,16 +373,15 @@
|
||||
fi
|
||||
|
||||
x_cflags="$X_CFLAGS"
|
||||
-x_ldflags="$X_LDFLAGS $X_LIBS"
|
||||
+x_ldflags="$X_LDFLAGS"
|
||||
|
||||
# set up things for XInput
|
||||
-
|
||||
if test "x$with_xinput" = "xgxi"; then
|
||||
AC_MSG_WARN([
|
||||
*** The generic XInput support has not been tested for several years
|
||||
*** and is not known to work with any currently available X servers])
|
||||
AC_DEFINE(XINPUT_GXI)
|
||||
- xinput_progs=gxid
|
||||
+ xinput_progs="gxid"
|
||||
x_libs="-lXi $x_libs"
|
||||
elif test "x$with_xinput" = "xxfree" || test "x$with_xinput" = "xyes"; then
|
||||
AC_DEFINE(XINPUT_XFREE)
|
||||
@@ -413,77 +401,72 @@
|
||||
|
||||
if test "x$enable_shm" = "xyes"; then
|
||||
# Check for shared memory
|
||||
- AC_CHECK_HEADER(sys/ipc.h, AC_DEFINE(HAVE_IPC_H), no_sys_ipc=yes)
|
||||
- AC_CHECK_HEADER(sys/shm.h, AC_DEFINE(HAVE_SHM_H), no_sys_shm=yes)
|
||||
+ AC_CHECK_HEADER(sys/ipc.h, AC_DEFINE(HAVE_IPC_H), no_sys_ipc="yes")
|
||||
+ AC_CHECK_HEADER(sys/shm.h, AC_DEFINE(HAVE_SHM_H), no_sys_shm="yes")
|
||||
|
||||
# Check for the X shared memory extension header file
|
||||
AC_MSG_CHECKING(X11/extensions/XShm.h)
|
||||
if test "x$no_xext_lib" = "xyes"; then
|
||||
AC_MSG_RESULT(no)
|
||||
- no_xshm=yes
|
||||
+ no_xshm="yes"
|
||||
else
|
||||
if test -f "$x_includes/X11/extensions/XShm.h"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_XSHM_H)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
- no_xshm=yes
|
||||
+ no_xshm="yes"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
-
|
||||
# Check if X_LOCALE definition is necessary
|
||||
-
|
||||
AC_MSG_CHECKING(need -DX_LOCALE)
|
||||
|
||||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <locale.h>
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
+ int main ()
|
||||
{
|
||||
return setlocale (LC_ALL, "${with_locale}") == NULL;
|
||||
}],
|
||||
-need_x_locale=no,
|
||||
-need_x_locale=yes,
|
||||
-need_x_locale=no)
|
||||
+ need_x_locale="no",
|
||||
+ need_x_locale="yes",
|
||||
+ need_x_locale="no"
|
||||
+)
|
||||
AC_MSG_RESULT($need_x_locale)
|
||||
|
||||
-use_native_locale=no
|
||||
-if test $need_x_locale = yes; then
|
||||
+use_native_locale="no"
|
||||
+if test "$need_x_locale" = "yes"; then
|
||||
GTK_LOCALE_FLAGS="-DX_LOCALE"
|
||||
else
|
||||
- if test x$with_native_locale = xyes ; then
|
||||
+ if test "x$with_native_locale" = "xyes" ; then
|
||||
AC_MSG_CHECKING(functioning locale support)
|
||||
|
||||
- AC_TRY_COMPILE([#include <stdlib.h>],[
|
||||
- char c;
|
||||
+ AC_TRY_COMPILE([#include <stdlib.h>],
|
||||
+ [char c;
|
||||
if (MB_CUR_MAX == 1) {
|
||||
wctomb(&c, 42);
|
||||
- }
|
||||
- ],use_native_locale=yes,)
|
||||
-
|
||||
+ }],
|
||||
+ use_native_locale="yes"
|
||||
+ )
|
||||
AC_MSG_RESULT($use_native_locale)
|
||||
fi
|
||||
fi
|
||||
|
||||
-if test x$use_native_locale = xyes ; then
|
||||
+if test "x$use_native_locale" = "xyes" ; then
|
||||
AC_MSG_CHECKING(if sizeof(wchar_t) == 4)
|
||||
|
||||
- AC_TRY_RUN([
|
||||
- #include <stdlib.h>
|
||||
-
|
||||
- int
|
||||
- main ()
|
||||
+ AC_TRY_RUN([#include <stdlib.h>
|
||||
+ int main ()
|
||||
{
|
||||
return (sizeof(wchar_t) == 4) ? 0 : 1;
|
||||
- }],
|
||||
- ,use_native_locale=no,:)
|
||||
+ }],,
|
||||
+ use_native_locale="no"
|
||||
+ )
|
||||
AC_MSG_RESULT($use_native_locale)
|
||||
fi
|
||||
|
||||
-if test $use_native_locale = yes ; then
|
||||
+if test "$use_native_locale" = "yes" ; then
|
||||
AC_DEFINE(USE_NATIVE_LOCALE)
|
||||
fi
|
||||
|
||||
@@ -502,13 +485,17 @@
|
||||
|
||||
# Check if <sys/select.h> needs to be included for fd_set
|
||||
AC_MSG_CHECKING([for fd_set])
|
||||
-AC_TRY_COMPILE([#include <sys/types.h>],
|
||||
- [fd_set readMask, writeMask;], gtk_ok=yes, gtk_ok=no)
|
||||
-if test $gtk_ok = yes; then
|
||||
+AC_TRY_COMPILE([#include <sys/types.h>
|
||||
+ ],
|
||||
+ [fd_set readMask, writeMask;],
|
||||
+ gtk_ok="yes",
|
||||
+ gtk_ok="no"
|
||||
+)
|
||||
+if test "$gtk_ok" = "yes"; then
|
||||
AC_MSG_RESULT([yes, found in sys/types.h])
|
||||
else
|
||||
- AC_HEADER_EGREP(fd_mask, sys/select.h, gtk_ok=yes)
|
||||
- if test $gtk_ok = yes; then
|
||||
+ AC_HEADER_EGREP(fd_mask, sys/select.h, gtk_ok="yes")
|
||||
+ if test "$gtk_ok" = "yes"; then
|
||||
AC_DEFINE(HAVE_SYS_SELECT_H)
|
||||
AC_MSG_RESULT([yes, found in sys/select.h])
|
||||
else
|
||||
@@ -520,30 +507,35 @@
|
||||
# Duplicate `widechar' tests from `glib'.
|
||||
# Check for wchar.h
|
||||
AC_MSG_CHECKING(for wchar.h)
|
||||
-AC_TRY_CPP([#include <wchar.h>], gtk_ok=yes, gtk_ok=no)
|
||||
-if test $gtk_ok = yes; then
|
||||
+AC_TRY_CPP([#include <wchar.h>
|
||||
+ ],
|
||||
+ gtk_ok="yes",
|
||||
+ gtk_ok="no"
|
||||
+)
|
||||
+if test "$gtk_ok" = "yes"; then
|
||||
AC_DEFINE(HAVE_WCHAR_H,1,[Define if wchar.h exists])
|
||||
fi
|
||||
AC_MSG_RESULT($gtk_ok)
|
||||
|
||||
# Check for wctype.h (for iswalnum)
|
||||
AC_MSG_CHECKING(for wctype.h)
|
||||
-AC_TRY_CPP([#include <wctype.h>], gtk_ok=yes, gtk_ok=no)
|
||||
-if test $gtk_ok = yes; then
|
||||
+AC_TRY_CPP([#include <wctype.h>], gtk_ok="yes", gtk_ok="no")
|
||||
+if test "$gtk_ok" = "yes"; then
|
||||
AC_DEFINE(HAVE_WCTYPE_H,1,[Define if wctype.h exists])
|
||||
fi
|
||||
AC_MSG_RESULT($gtk_ok)
|
||||
|
||||
# in Solaris 2.5, `iswalnum' is in -lw
|
||||
GDK_WLIBS=
|
||||
-AC_CHECK_FUNC(iswalnum,,[AC_CHECK_LIB(w,iswalnum,GDK_WLIBS=-lw)])
|
||||
+AC_CHECK_FUNC(iswalnum,,[AC_CHECK_LIB(w,iswalnum,GDK_WLIBS="-lw")])
|
||||
|
||||
# The following is necessary for Linux libc-5.4.38
|
||||
oLIBS="$LIBS"
|
||||
LIBS="$LIBS $GDK_WLIBS"
|
||||
AC_MSG_CHECKING(if iswalnum() and friends are properly defined)
|
||||
-AC_TRY_LINK([#include <stdlib.h>],[
|
||||
-#if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
|
||||
+AC_TRY_LINK([#include <stdlib.h>
|
||||
+ ],
|
||||
+ [#if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
|
||||
# ifdef HAVE_WCTYPE_H
|
||||
# include <wctype.h>
|
||||
# else
|
||||
@@ -554,11 +546,13 @@
|
||||
#else
|
||||
# define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
|
||||
#endif
|
||||
-iswalnum((wchar_t) 0);
|
||||
-], gtk_ok=yes, gtk_ok=no)
|
||||
+ iswalnum((wchar_t) 0);],
|
||||
+ gtk_ok="yes",
|
||||
+ gtk_ok="no"
|
||||
+)
|
||||
LIBS="$oLIBS"
|
||||
|
||||
-if test $gtk_ok = no; then
|
||||
+if test "$gtk_ok" = "no"; then
|
||||
AC_DEFINE(HAVE_BROKEN_WCTYPE,1,[Define if the wctype function is broken])
|
||||
GDK_WLIBS=
|
||||
fi
|
||||
@@ -580,5 +574,5 @@
|
||||
gtk/Makefile
|
||||
gtk/gtkfeatures.h
|
||||
gdk.pc
|
||||
-gtk+.pc
|
||||
-], [chmod +x gtk-config])
|
||||
+gtk+.pc],
|
||||
+[chmod +x gtk-config])
|
||||
--- gtk+-1.2.10/gdk/Makefile.am.orig 2006-05-19 02:41:18.000000000 -0700
|
||||
+++ gtk+-1.2.10/gdk/Makefile.am 2006-05-19 02:11:54.000000000 -0700
|
||||
@@ -21,12 +21,11 @@
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
-release $(LT_RELEASE) \
|
||||
-export-dynamic \
|
||||
- @GLIB_DEPLIBS@ \
|
||||
@x_ldflags@ \
|
||||
- @x_libs@ \
|
||||
- -lm \
|
||||
@STRIP_END@
|
||||
|
||||
+libgdk_la_LIBADD = @GLIB_DEPLIBS@ @x_libs@ -lm
|
||||
+
|
||||
#
|
||||
# setup source file variables
|
||||
#
|
||||
@@ -104,14 +103,13 @@
|
||||
EXTRA_PROGRAMS = gxid
|
||||
bin_PROGRAMS = @xinput_progs@
|
||||
LDADDS = @STRIP_BEGIN@ \
|
||||
- @x_ldflags@ \
|
||||
@x_libs@ \
|
||||
@GLIB_LIBS@ \
|
||||
-lm \
|
||||
@STRIP_END@
|
||||
gxid_SOURCES = gxid.c
|
||||
gxid_LDADD = $(LDADDS)
|
||||
-
|
||||
+gxid_LDFLAGS = @x_ldflags@
|
||||
|
||||
.PHONY: files
|
||||
|
||||
--- gtk+-1.2.10/gtk/Makefile.am.orig 2006-05-25 07:40:45.000000000 -0700
|
||||
+++ gtk+-1.2.10/gtk/Makefile.am 2006-05-25 07:43:20.000000000 -0700
|
||||
@@ -27,13 +27,15 @@
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
-release $(LT_RELEASE) \
|
||||
-export-dynamic \
|
||||
- @GLIB_DEPLIBS@ \
|
||||
@x_ldflags@ \
|
||||
- @x_libs@ \
|
||||
- -lm \
|
||||
@STRIP_END@
|
||||
-# $(top_builddir)/gdk/libgdk.la
|
||||
-
|
||||
+libgtk_la_LIBADD = @STRIP_BEGIN@ \
|
||||
+ $(top_builddir)/gdk/libgdk.la \
|
||||
+ @x_libs@ \
|
||||
+ @GDK_WLIBS@ \
|
||||
+ @GLIB_LIBS@ \
|
||||
+ -lm \
|
||||
+ @STRIP_END@
|
||||
|
||||
#
|
||||
# setup source file variables
|
||||
@@ -374,14 +376,17 @@
|
||||
|
||||
|
||||
gtkconfdir = $(sysconfdir)/gtk
|
||||
-gtkconf_DATA = gtkrc.az gtkrc.he gtkrc.hy gtkrc.ja \
|
||||
+# removed references to non-existent gtkrc files - tsh
|
||||
+gtkconf_DATA = \
|
||||
+ gtkrc.az gtkrc.he gtkrc.hy gtkrc.ja \
|
||||
gtkrc.ko gtkrc.ru gtkrc.th gtkrc.uk \
|
||||
- gtkrc.utf-8 gtkrc.iso-8859-2 \
|
||||
- gtkrc.iso-8859-3 gtkrc.iso-8859-5 gtkrc.iso-8859-7 \
|
||||
- gtkrc.iso-8859-9 gtkrc.iso-8859-13 gtkrc.iso-8859-14 \
|
||||
- gtkrc.iso-8859-15 gtkrc.zh_CN gtkrc.zh_TW.big5 \
|
||||
- gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps \
|
||||
- gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii gtkrc.cp1251 gtkrc.cp1255
|
||||
+ gtkrc.iso-8859-2 gtkrc.iso-8859-5 \
|
||||
+ gtkrc.iso-8859-13 gtkrc.iso-8859-14 \
|
||||
+ gtkrc.iso-8859-15 gtkrc.zh_TW.big5 \
|
||||
+ gtkrc.zh_CN gtkrc.cp1251 gtkrc.cp1255 \
|
||||
+ gtkrc.ka_GE.georgianacademy \
|
||||
+ gtkrc.ka_GE.georgianps \
|
||||
+ gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii
|
||||
|
||||
# We create a dummy theme for the default GTK+ theme
|
||||
install-data-local:
|
||||
@@ -428,7 +433,6 @@
|
||||
LDADDS = @STRIP_BEGIN@ \
|
||||
libgtk.la \
|
||||
$(top_builddir)/gdk/libgdk.la \
|
||||
- @x_ldflags@ \
|
||||
@x_libs@ \
|
||||
@GDK_WLIBS@ \
|
||||
@GLIB_LIBS@ \
|
||||
@@ -441,12 +445,20 @@
|
||||
testdnd_DEPENDENCIES = $(DEPS)
|
||||
simple_DEPENDENCIES = $(DEPS)
|
||||
#testthreads_DEPENDENCIES = $(DEPS)
|
||||
+
|
||||
testgtk_LDADD = $(LDADDS)
|
||||
+testgtk_LDFLAGS=@x_ldflags@
|
||||
testinput_LDADD = $(LDADDS)
|
||||
+testinput_LDFLAGS = @x_ldflags@
|
||||
testselection_LDADD = $(LDADDS)
|
||||
+testselection_LDFLAGS = @x_ldflags@
|
||||
testrgb_LDADD = $(LDADDS)
|
||||
+testrgb_LDFLAGS = @x_ldflags@
|
||||
testdnd_LDADD = $(LDADDS)
|
||||
+testdnd_LDFLAGS = @x_ldflags@
|
||||
simple_LDADD = $(LDADDS)
|
||||
+simple_LDFLAGS = @x_ldflags@
|
||||
+
|
||||
#testthreads_LDADD = $(LDADDS)
|
||||
|
||||
.PHONY: files test test-debug
|
||||
9
x11-libs/gtk+/files/gtk+-1.2.10-m4.patch
Normal file
9
x11-libs/gtk+/files/gtk+-1.2.10-m4.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
Fix aclocal warnings:
|
||||
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
|
||||
--- gtk+-1.2.10/gtk.m4
|
||||
+++ gtk+-1.2.10/gtk.m4
|
||||
@@ -6,3 +6,3 @@
|
||||
dnl
|
||||
-AC_DEFUN(AM_PATH_GTK,
|
||||
+AC_DEFUN([AM_PATH_GTK],
|
||||
[dnl
|
||||
9
x11-libs/gtk+/files/gtk+-gdk-pixbuf-testfix.patch
Normal file
9
x11-libs/gtk+/files/gtk+-gdk-pixbuf-testfix.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
--- gtk+-2.8.10/gdk-pixbuf/abicheck.sh 2005-08-07 09:47:25.000000000 -0400
|
||||
+++ gtk+-2.8.10.new/gdk-pixbuf/abicheck.sh 2006-01-12 18:56:04.000000000 -0500
|
||||
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
|
||||
cpp -DINCLUDE_VARIABLES -P -DALL_FILES ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
|
||||
-nm -D .libs/libgdk_pixbuf-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
|
||||
+nm -D .libs/libgdk_pixbuf-2.0.so | grep " [GBDTR] " | cut -d ' ' -f 3 | sort > actual-abi
|
||||
diff -u expected-abi actual-abi && rm expected-abi actual-abi
|
||||
39
x11-libs/gtk+/files/gtkrc
Normal file
39
x11-libs/gtk+/files/gtkrc
Normal file
@@ -0,0 +1,39 @@
|
||||
style "default"
|
||||
|
||||
{
|
||||
font = "-*-lucida-medium-r-normal-*-*-100-*-*-*-*-*-*"
|
||||
}
|
||||
|
||||
style "button" = "default"
|
||||
|
||||
{
|
||||
bg[PRELIGHT] = { 0.7, 0.7, 0.9 }
|
||||
}
|
||||
|
||||
style "treeitem"
|
||||
{
|
||||
bg[ACTIVE] = { 0.7, 0.7, 0.9 }
|
||||
}
|
||||
|
||||
style "scrollbar" = "button"
|
||||
{
|
||||
bg[ACTIVE] = {0.6, 0.6, 0.6 }
|
||||
}
|
||||
|
||||
style "status" {
|
||||
bg[PRELIGHT] = { 0.3, 1.0, 0.3 }
|
||||
}
|
||||
|
||||
style "gtk-tooltips" {
|
||||
bg[NORMAL] = "#ffff60"
|
||||
}
|
||||
|
||||
class "GtkWidget" style "default"
|
||||
class "GtkButton" style "button"
|
||||
class "GtkItem" style "button"
|
||||
class "GtkProgressBar" style "status"
|
||||
class "GtkScrollbar" style "scrollbar"
|
||||
class "GtkTreeItem" style "treeitem"
|
||||
widget "gtk-tooltips" style "gtk-tooltips"
|
||||
|
||||
|
||||
93
x11-libs/gtk+/gtk+-1.2.10-r11.ebuild
Normal file
93
x11-libs/gtk+/gtk+-1.2.10-r11.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild,v 1.27 2006/09/04 19:49:23 gustavoz Exp $
|
||||
|
||||
GNOME_TARBALL_SUFFIX="gz"
|
||||
inherit gnome.org eutils libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GIMP Toolkit"
|
||||
HOMEPAGE="http://www.gtk.org/"
|
||||
SRC_URI="${SRC_URI} http://www.ibiblio.org/gentoo/distfiles/gtk+-1.2.10-r8-gentoo.diff.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="nls debug"
|
||||
|
||||
RDEPEND="|| (
|
||||
(
|
||||
x11-libs/libXi
|
||||
x11-libs/libXt
|
||||
)
|
||||
virtual/x11
|
||||
)
|
||||
=dev-libs/glib-1.2*"
|
||||
DEPEND="${RDEPEND}
|
||||
|| (
|
||||
(
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
)
|
||||
virtual/x11
|
||||
)
|
||||
nls? ( sys-devel/gettext dev-util/intltool )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-m4.patch
|
||||
|
||||
cd "${S}"/..
|
||||
epatch "${DISTDIR}"/gtk+-1.2.10-r8-gentoo.diff.bz2
|
||||
|
||||
# locale fix by sbrabec@suse.cz
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.2-locale_fix.patch
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
if use debug ; then
|
||||
myconf="${myconf} --enable-debug=yes"
|
||||
else
|
||||
myconf="${myconf} --enable-debug=minimum"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc \
|
||||
--with-xinput=xfree \
|
||||
--with-x \
|
||||
${myconf} || die
|
||||
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die
|
||||
|
||||
dodoc AUTHORS ChangeLog* HACKING
|
||||
dodoc NEWS* README* TODO
|
||||
docinto docs
|
||||
cd docs
|
||||
dodoc *.txt *.gif text/*
|
||||
dohtml -r html
|
||||
|
||||
#install nice, clean-looking gtk+ style
|
||||
insinto /usr/share/themes/Gentoo/gtk
|
||||
doins "${FILESDIR}"/gtkrc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e /etc/X11/gtk/gtkrc ]] ; then
|
||||
ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for"
|
||||
ewarn "all themes it seems. Please remove it manually as it will not due"
|
||||
ewarn "to /env protection."
|
||||
fi
|
||||
|
||||
echo ""
|
||||
einfo "The old gtkrc is available through the new Gentoo gtk theme."
|
||||
}
|
||||
89
x11-libs/gtk+/gtk+-1.2.10-r12.ebuild
Normal file
89
x11-libs/gtk+/gtk+-1.2.10-r12.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r12.ebuild,v 1.11 2006/11/12 03:27:56 vapier Exp $
|
||||
|
||||
GNOME_TARBALL_SUFFIX="gz"
|
||||
WANT_AUTOMAKE=1.4
|
||||
inherit gnome.org eutils toolchain-funcs autotools
|
||||
|
||||
DESCRIPTION="The GIMP Toolkit"
|
||||
HOMEPAGE="http://www.gtk.org/"
|
||||
SRC_URI="${SRC_URI} http://www.ibiblio.org/gentoo/distfiles/gtk+-1.2.10-r8-gentoo.diff.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="nls debug"
|
||||
|
||||
# Supported languages and translated documentation
|
||||
# Be sure all languages are prefixed with a single space!
|
||||
MY_AVAILABLE_LINGUAS=" az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl nn no pl pt_BR pt ro ru sk sl sr sv tr uk vi"
|
||||
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
|
||||
|
||||
RDEPEND="=dev-libs/glib-1.2*
|
||||
|| (
|
||||
( x11-libs/libXi x11-libs/libXt )
|
||||
virtual/x11
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
|| (
|
||||
( x11-proto/inputproto x11-proto/xextproto )
|
||||
virtual/x11
|
||||
)
|
||||
nls? ( sys-devel/gettext dev-util/intltool )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-m4.patch
|
||||
epatch "${DISTDIR}"/gtk+-1.2.10-r8-gentoo.diff.bz2
|
||||
epatch "${FILESDIR}"/${PN}-1.2-locale_fix.patch
|
||||
epatch "${FILESDIR}"/${P}-as-needed.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
strip-linguas ${MY_AVAILABLE_LINGUAS}
|
||||
|
||||
if use debug ; then
|
||||
myconf="${myconf} --enable-debug=yes"
|
||||
else
|
||||
myconf="${myconf} --enable-debug=minimum"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc \
|
||||
--with-xinput=xfree \
|
||||
--with-x \
|
||||
${myconf} || die
|
||||
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die
|
||||
|
||||
dodoc AUTHORS ChangeLog* HACKING
|
||||
dodoc NEWS* README* TODO
|
||||
docinto docs
|
||||
cd docs
|
||||
dodoc *.txt *.gif text/*
|
||||
dohtml -r html
|
||||
|
||||
#install nice, clean-looking gtk+ style
|
||||
insinto /usr/share/themes/Gentoo/gtk
|
||||
doins "${FILESDIR}"/gtkrc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e /etc/X11/gtk/gtkrc ]] ; then
|
||||
ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for"
|
||||
ewarn "all themes it seems. Please remove it manually as it will not due"
|
||||
ewarn "to /env protection."
|
||||
fi
|
||||
|
||||
echo ""
|
||||
einfo "The old gtkrc is available through the new Gentoo gtk theme."
|
||||
}
|
||||
11
x11-libs/gtk+/metadata.xml
Normal file
11
x11-libs/gtk+/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<longdescription>
|
||||
GTK+ is a multi-platform toolkit for creating graphical user
|
||||
interfaces. Offering a complete set of widgets, GTK+ is suitable
|
||||
for projects ranging from small one-off projects to complete
|
||||
application suites.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user