Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
lib32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
lib32
Commits
53d693d5
Commit
53d693d5
authored
Jan 16, 2011
by
Giuseppe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added lib32-gtk2
parent
9267030e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
0 deletions
+96
-0
lib32-gtk2/PKGBUILD
lib32-gtk2/PKGBUILD
+53
-0
lib32-gtk2/gtk-modules-32.patch
lib32-gtk2/gtk-modules-32.patch
+12
-0
lib32-gtk2/gtk2.install
lib32-gtk2/gtk2.install
+16
-0
lib32-gtk2/xid-collision-debug.patch
lib32-gtk2/xid-collision-debug.patch
+15
-0
No files found.
lib32-gtk2/PKGBUILD
0 → 100644
View file @
53d693d5
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename
=
gtk2
pkgname
=
lib32-
$_pkgbasename
pkgver
=
2.22.0
pkgrel
=
1
pkgdesc
=
"The GTK+ Toolkit (v2) (32-bit)"
arch
=(
'x86_64'
)
url
=
"http://www.gtk.org/"
install
=
gtk2.install
depends
=(
lib32-
{
'atk>=1.30.0'
,
'pango>=1.28.0'
,
'cairo>=1.10.0'
,
'heimdal>=1.3.2'
,
'gnutls>=2.8.6'
,
'gdk-pixbuf2>=2.22.0'
}
lib32-lib
{
'cups>=1.4.4'
,xcursor,
'xrandr>=1.3'
,
'xi>=1.3'
,xinerama,xcomposite,xdamage
}
$_pkgbasename
)
makedepends
=(
'pkgconfig'
'gcc-multilib'
)
options
=(
'!libtool'
'!docs'
)
license
=(
'LGPL'
)
source
=(
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.22/gtk+-
${
pkgver
}
.tar.bz2
xid-collision-debug.patch
gtk-modules-32.patch
)
sha256sums
=(
'd9522c80d4b8a954f7474e32bd5a99ba3051996f1c4681426db5f79a1c1b4602'
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
'2effb13404442ae266d4c663347e88cd1ca19e9a83b452da1743bac16af9c7b0'
)
build
()
{
export
CC
=
"gcc -m32"
export
CXX
=
"g++ -m32"
export
PKG_CONFIG_PATH
=
"/usr/lib32/pkgconfig"
cd
"
${
srcdir
}
/gtk+-
${
pkgver
}
"
patch
-Np1
-i
"
${
srcdir
}
/xid-collision-debug.patch"
patch
-p1
-i
${
srcdir
}
/gtk-modules-32.patch
CXX
=
/bin/false ./configure
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--localstatedir
=
/var
\
--libdir
=
/usr/lib32
\
--with-xinput
=
yes
make
}
package
()
{
cd
"
${
srcdir
}
/gtk+-
${
pkgver
}
"
make
DESTDIR
=
"
${
pkgdir
}
"
install
rm
-rf
"
${
pkgdir
}
"
/etc
rm
-rf
"
${
pkgdir
}
"
/usr/
{
include,share
}
cd
"
${
pkgdir
}
"
/usr/bin
mv
gtk-query-immodules-2.0 gtk-query-immodules-2.0-32
rm
-f
gtk-builder-convert gtk-demo gtk-update-icon-cache
}
lib32-gtk2/gtk-modules-32.patch
0 → 100644
View file @
53d693d5
diff -ur gtk+-2.20.1/gtk/gtkrc.c gtk+-2.20.1-32/gtk/gtkrc.c
--- gtk+-2.20.1/gtk/gtkrc.c 2010-05-03 01:28:21.000000000 +0200
+++ gtk+-2.20.1-32/gtk/gtkrc.c 2010-08-26 07:22:42.316920033 +0200
@@ -450,7 +450,7 @@
if (im_module_file)
result = g_strdup (im_module_file);
else
- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
+ result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules-32", NULL);
}
return result;
lib32-gtk2/gtk2.install
0 → 100644
View file @
53d693d5
post_install
()
{
GTK_PATH
=/
usr
/
lib32
/
gtk
-
2.0
usr
/
bin
/
gtk
-
query
-
immodules
-
2.0
-
32
>
etc
/
gtk
-
2.0
/
gtk
.
immodules
-
32
}
pre_upgrade
()
{
pre_remove
}
post_upgrade
()
{
post_install
}
pre_remove
()
{
rm
-
f
etc
/
gtk
-
2.0
/
gtk
.
immodules
-
32
&>/
dev
/
null
rm
-
f
etc
/
gtk
-
2.0
/
gdk
-
pixbuf
.
loaders
-
32
&>/
dev
/
null
}
lib32-gtk2/xid-collision-debug.patch
0 → 100644
View file @
53d693d5
--- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
+++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
@@ -56,10 +56,10 @@
if (!display_x11->xid_ht)
display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
(GEqualFunc) gdk_xid_equal);
-
+/*
if (g_hash_table_lookup (display_x11->xid_ht, xid))
g_warning ("XID collision, trouble ahead");
-
+*/
g_hash_table_insert (display_x11->xid_ht, xid, data);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment