Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1011 - nls fixes -- many patches for GTK/Gnome stuff
Summary: nls fixes -- many patches for GTK/Gnome stuff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-07 21:48 UTC by Seemant Kulleen
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for eel (eel.patch,627 bytes, patch)
2002-03-07 21:49 UTC, Seemant Kulleen
Details | Diff
gnome-core (gnome-core.patch,1.06 KB, patch)
2002-03-07 21:50 UTC, Seemant Kulleen
Details | Diff
gnome-libs (gnome-libs.patch,609 bytes, patch)
2002-03-07 21:50 UTC, Seemant Kulleen
Details | Diff
gnome-mime-data (gnome-mime-data.patch,550 bytes, patch)
2002-03-07 21:51 UTC, Seemant Kulleen
Details | Diff
gnome-mud (gnome-mud.patch,875 bytes, patch)
2002-03-07 21:52 UTC, Seemant Kulleen
Details | Diff
gnome-print (gnome-print.patch,661 bytes, patch)
2002-03-07 21:52 UTC, Seemant Kulleen
Details | Diff
gnome-vfs (gnome-vfs.patch,514 bytes, patch)
2002-03-07 21:53 UTC, Seemant Kulleen
Details | Diff
gtk+-1.2 (gtk+.patch,670 bytes, patch)
2002-03-07 22:02 UTC, Seemant Kulleen
Details | Diff
mc (mc.patch,1.25 KB, patch)
2002-03-07 22:03 UTC, Seemant Kulleen
Details | Diff
medusa (medusa.patch,645 bytes, patch)
2002-03-07 22:04 UTC, Seemant Kulleen
Details | Diff
nautilus (nautilus.patch,537 bytes, patch)
2002-03-07 22:04 UTC, Seemant Kulleen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen 2002-03-07 21:48:08 UTC
Hi Again to my Gentoo Friends,

OK, this one was a little bit challenging, and it is certainly far from being
over.  There are a few things in gnome-extra that still depend on nls for some
reason.  Meanwhile, I am attaching patches for all the ones that seem to work
when nls is disabled.  Much thanks to Achim whose gconf ebuild was invaluable
during this process.

As for changelog entries:  --disable-nls flag if nls not in USE.

How's that?

Oh yeah, the mc patch here takes into account bug 1009's fix as well.

Thanks,

Seemant
Comment 1 Seemant Kulleen 2002-03-07 21:49:08 UTC
Created attachment 297 [details, diff]
patch for eel
Comment 2 Seemant Kulleen 2002-03-07 21:50:19 UTC
Created attachment 298 [details, diff]
gnome-core
Comment 3 Seemant Kulleen 2002-03-07 21:50:51 UTC
Created attachment 299 [details, diff]
gnome-libs
Comment 4 Seemant Kulleen 2002-03-07 21:51:29 UTC
Created attachment 300 [details, diff]
gnome-mime-data
Comment 5 Seemant Kulleen 2002-03-07 21:52:01 UTC
Created attachment 301 [details, diff]
gnome-mud
Comment 6 Seemant Kulleen 2002-03-07 21:52:27 UTC
Created attachment 302 [details, diff]
gnome-print
Comment 7 Seemant Kulleen 2002-03-07 21:53:04 UTC
Created attachment 303 [details, diff]
gnome-vfs
Comment 8 Seemant Kulleen 2002-03-07 22:02:56 UTC
Created attachment 304 [details, diff]
gtk+-1.2
Comment 9 Seemant Kulleen 2002-03-07 22:03:32 UTC
Created attachment 305 [details, diff]
mc
Comment 10 Seemant Kulleen 2002-03-07 22:04:02 UTC
Created attachment 306 [details, diff]
medusa
Comment 11 Seemant Kulleen 2002-03-07 22:04:54 UTC
Created attachment 307 [details, diff]
nautilus
Comment 12 Seemant Kulleen 2002-03-08 17:29:30 UTC
This makes attachment 299 [details, diff] obsolete.  That one is incomplete.

-- Cut here


--- gnome-libs-1.4.1.4.ebuild   Fri Mar  8 15:22:41 2002
+++ gnome-libs-1.4.1.4-r1.ebuild        Fri Mar  8 15:15:36 2002
@@ -12,9 +12,16 @@
        >=media-sound/esound-0.2.23
        >=gnome-base/ORBit-0.5.12
        >=x11-libs/gtk+-1.2.10-r4
-       <sys-libs/db-2"
+       <sys-libs/db-2
+       nls? ( >=sys-devel/gettext-0.10.40
+                       >=dev-util/intltool-0.11 )"
+
+src_compile() {                        
+       
+       local myconf
 
-src_compile() {                           
+       use nls || myconf="${myconf} --disable-nls"
+       use kde && myconf="${myconf} --with-kde-datadir=/usr/share"
        CFLAGS="$CFLAGS -I/usr/include/db1"
 
        ./configure --host=${CHOST} \
@@ -23,7 +30,8 @@
                --infodir=/usr/share/info \
                --sysconfdir=/etc \
                --localstatedir=/var/lib \
-               --enable-prefer-db1 || die
+               --enable-prefer-db1  \
+               ${myconf} || die
 
        emake || die
 
Comment 13 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-10 03:48:24 UTC
eel, gnome-mime-data, gnome-mud, gnome-print, gnome-vfs, mc, medusa, and
nautilus were checked in...

gnome-mime-data configure script/makefile set seems to still install a few
locale files but alot fewer then with NLS enabled

Left to do:  gnome-core, gnome-libs, gtk+-1.2

Great work :)
Comment 14 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-10 04:08:31 UTC
gnome-libs done
Comment 15 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-10 04:39:57 UTC
done.

Thank you for the patches and good work.