diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20111214')
10 files changed, 378 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment-0001.html new file mode 100644 index 000000000..0ae8d12f1 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment-0001.html @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Bitstream Vera Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday, 14 December 2011 04:04:39 Liam R E Quin wrote:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> On Tue, 2011-12-13 at 16:31 -0800, Dan Fandrich wrote:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > I raised a bug ticket on drakxtools (#3731) because the RPM in Cauldron</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > installs without complaints in Mageia 1 but won't work there because</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > it requires a newer version of perl.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This is unsupported. Maybe you should instead contribute documentation that makes this more explicitly obvious, but it is a well-known rule in Mandriva and Mageia (and usually applies to other distros as well).</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">If this weren't the case, there wouldn't be a need for backports ...</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > The perl dependency in the</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > RPM is listed as "perl-base" when it should really be something like</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > "perl-base >= 5.14.2" (Mageia 1 ships with version 5.12.3). The response</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > I got was that such an upgrade (from release to Cauldron) wasn't</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > supported and this bug was likely a wontfix.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Installing packages individually from one release on another release is not supported. Either upgrade the entire distro first, or stick to packages from the version you are on. However 'upgrade from release to Cauldron', when done correctly, should usually work as expected.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> It's really hard to test for dependencies like this, as the person</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> building the package will have working versions of everything.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Worse, in two years' time, perl-base of 5.14.3 will be hopelessly</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> outdated (we all expect, at least). So it becomes one more thing to</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> maintain.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> But it's also a problem worth solving for some of the system-critical</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> components such as perl, urpmi and drak*. I don't think "wontfix" is a</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> good answer here.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">But, in supported use cases, urpmi *does* ensure that all the pieces to keep urpmi are upgraded in one transaction.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Supporting the use case of installing any random package from a different release will take more effort than just adding and maintaining a version on one perl-base dependency.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards,</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Buchan</p></body></html>
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment.html b/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment.html new file mode 100644 index 000000000..0ae8d12f1 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/1f695abf/attachment.html @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Bitstream Vera Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday, 14 December 2011 04:04:39 Liam R E Quin wrote:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> On Tue, 2011-12-13 at 16:31 -0800, Dan Fandrich wrote:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > I raised a bug ticket on drakxtools (#3731) because the RPM in Cauldron</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > installs without complaints in Mageia 1 but won't work there because</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > it requires a newer version of perl.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This is unsupported. Maybe you should instead contribute documentation that makes this more explicitly obvious, but it is a well-known rule in Mandriva and Mageia (and usually applies to other distros as well).</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">If this weren't the case, there wouldn't be a need for backports ...</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > The perl dependency in the</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > RPM is listed as "perl-base" when it should really be something like</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > "perl-base >= 5.14.2" (Mageia 1 ships with version 5.12.3). The response</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > I got was that such an upgrade (from release to Cauldron) wasn't</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > supported and this bug was likely a wontfix.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Installing packages individually from one release on another release is not supported. Either upgrade the entire distro first, or stick to packages from the version you are on. However 'upgrade from release to Cauldron', when done correctly, should usually work as expected.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> It's really hard to test for dependencies like this, as the person</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> building the package will have working versions of everything.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Worse, in two years' time, perl-base of 5.14.3 will be hopelessly</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> outdated (we all expect, at least). So it becomes one more thing to</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> maintain.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> But it's also a problem worth solving for some of the system-critical</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> components such as perl, urpmi and drak*. I don't think "wontfix" is a</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> good answer here.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">But, in supported use cases, urpmi *does* ensure that all the pieces to keep urpmi are upgraded in one transaction.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Supporting the use case of installing any random package from a different release will take more effort than just adding and maintaining a version on one perl-base dependency.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards,</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Buchan</p></body></html>
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment-0001.asc new file mode 100644 index 000000000..48d7f6973 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment-0001.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEARECAAYFAk7pWXwACgkQMYWkoYueEqvESwCfYiWhQ1LZ+AXHk6elKpmk1Mj8 +Q4sAoNq/md3zViUpJdS2agNbqio/Ckhy +=QFPC +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment.asc b/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment.asc new file mode 100644 index 000000000..48d7f6973 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/2d002e53/attachment.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEARECAAYFAk7pWXwACgkQMYWkoYueEqvESwCfYiWhQ1LZ+AXHk6elKpmk1Mj8 +Q4sAoNq/md3zViUpJdS2agNbqio/Ckhy +=QFPC +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment-0001.asc new file mode 100644 index 000000000..dcfdf0a1c --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment-0001.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEARECAAYFAk7pVUAACgkQMYWkoYueEqvN4gCg6j77rekl2q5G6Zl81GJpH7+V +sM0AnAsPwkeV+shHKukGxUWOtOwXgjuN +=pQ8B +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment.asc b/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment.asc new file mode 100644 index 000000000..dcfdf0a1c --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/2fc846b4/attachment.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEARECAAYFAk7pVUAACgkQMYWkoYueEqvN4gCg6j77rekl2q5G6Zl81GJpH7+V +sM0AnAsPwkeV+shHKukGxUWOtOwXgjuN +=pQ8B +-----END PGP SIGNATURE----- diff --git a/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment-0001.obj b/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment-0001.obj new file mode 100644 index 000000000..181f25b0f --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment-0001.obj @@ -0,0 +1,131 @@ +%define version 0.9 +%define betaver 0 +%define rel 1 + +%if %betaver +%define release %mkrel -c %betaver %rel +%define tarballver %version.%betaver +%else +%define release %mkrel %rel +%define tarballver %version +%endif + +%define libname %mklibname %{name} 1 + +Summary: An input method server for traditional Chinese +Name: hime +Version: %{version} +Release: %{release} +License: LGPLv2+ +URL: http://hime.luna.com.tw/ +Group: System/Internationalization +Source0: http://hime.luna.com.tw/%{name}-%{tarballver}.tar.bz2 +Patch4: hime_libdir.patch +Requires(post): gtk+2.0 +Requires(postun): gtk+2.0 +BuildRequires: gtk+2-devel +BuildRequires: gtk+3-devel +BuildRequires: qt4-devel +BuildRequires: anthy-devel +Requires: %{libname} = %{version}-%{release} +Suggests: %{name}-qt4 = %{version}-%{release} +Requires: locales-zh + + +%description +hime is a Chinese input method server for traditional Chinese. +It features a better GTK user interface. + + +%package -n %{libname} +Summary: hime library +Group: System/Internationalization +Obsoletes: %mklibname %{name} 0 + +%description -n %{libname} +hime is a Chinese input method server for traditional Chinese. +It features a better GTK user interface. + +%package gtk3 +Summary: gtk3 immodule for hime +Group: System/Internationalization +Requires: %name = %{version}-%{release} + +%description gtk3 +This is the gtk3 immodule support for hime. + +%package qt4 +Summary: Qt4 immodule for hime +Group: System/Internationalization +Requires: %libname = %{version}-%{release} +Requires: %name = %{version}-%{release} + +%description qt4 +This is the qt4 immodule support for hime. + +%prep +%setup -q -n %{name}-%{tarballver} +%patch4 -p0 -b .libdir + +%build +%define _disable_ld_no_undefined 1 +%configure2_5x +# (tv) disable parallel build (broken): +make OPTFLAGS="%{optflags} -fPIC" EXTRA_LDFLAGS="%{?ldflags}" CC="gcc %{?ldflags}" CCLD="gcc %{?ldflags}" + +%install +rm -rf %{buildroot} +# fix installing in proper path on x86_64: +%makeinstall_std libdir=%buildroot%_libdir +rm -fr %buildroot%_docdir/ +rm -fr %buildroot%_libdir/menu/ + +# remove unneeded files +rm -rf %{buildroot}/%{_includedir} + +%{find_lang} %{name} + +%clean +rm -rf %{buildroot} + +%post +# install gtk IM module +gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules.%_lib + +%postun +gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules.%_lib + +%post gtk3 +gtk-query-immodules-3.0 --update-cache + +%postun gtk3 +gtk-query-immodules-3.0 --update-cache + +%files -f %{name}.lang +%defattr(-,root,root) +%doc AUTHORS Changelog* README* +%{_bindir}/* +%{_datadir}/applications/hime-tools.desktop +%{_datadir}/hime +%{_datadir}/pixmaps/* +%{_iconsdir}/* +%{_mandir}/man?/* +%{_libdir}/gtk-2.0/immodules/*.so + +%files gtk3 +%defattr(-,root,root) +%{_libdir}/gtk-3.0/immodules/*.so + +%files qt4 +%defattr(-,root,root) +%{qt4plugins}/inputmethods/*.so + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/hime/* + + +%changelog +* Wed Dec 14 2011 yochenhsieh <yochenhsieh> 0.9-1.mga2 +- first spec for Mageia +- based on the spec of gcin. Thanks! diff --git a/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment.obj b/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment.obj new file mode 100644 index 000000000..181f25b0f --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/4a9d256f/attachment.obj @@ -0,0 +1,131 @@ +%define version 0.9 +%define betaver 0 +%define rel 1 + +%if %betaver +%define release %mkrel -c %betaver %rel +%define tarballver %version.%betaver +%else +%define release %mkrel %rel +%define tarballver %version +%endif + +%define libname %mklibname %{name} 1 + +Summary: An input method server for traditional Chinese +Name: hime +Version: %{version} +Release: %{release} +License: LGPLv2+ +URL: http://hime.luna.com.tw/ +Group: System/Internationalization +Source0: http://hime.luna.com.tw/%{name}-%{tarballver}.tar.bz2 +Patch4: hime_libdir.patch +Requires(post): gtk+2.0 +Requires(postun): gtk+2.0 +BuildRequires: gtk+2-devel +BuildRequires: gtk+3-devel +BuildRequires: qt4-devel +BuildRequires: anthy-devel +Requires: %{libname} = %{version}-%{release} +Suggests: %{name}-qt4 = %{version}-%{release} +Requires: locales-zh + + +%description +hime is a Chinese input method server for traditional Chinese. +It features a better GTK user interface. + + +%package -n %{libname} +Summary: hime library +Group: System/Internationalization +Obsoletes: %mklibname %{name} 0 + +%description -n %{libname} +hime is a Chinese input method server for traditional Chinese. +It features a better GTK user interface. + +%package gtk3 +Summary: gtk3 immodule for hime +Group: System/Internationalization +Requires: %name = %{version}-%{release} + +%description gtk3 +This is the gtk3 immodule support for hime. + +%package qt4 +Summary: Qt4 immodule for hime +Group: System/Internationalization +Requires: %libname = %{version}-%{release} +Requires: %name = %{version}-%{release} + +%description qt4 +This is the qt4 immodule support for hime. + +%prep +%setup -q -n %{name}-%{tarballver} +%patch4 -p0 -b .libdir + +%build +%define _disable_ld_no_undefined 1 +%configure2_5x +# (tv) disable parallel build (broken): +make OPTFLAGS="%{optflags} -fPIC" EXTRA_LDFLAGS="%{?ldflags}" CC="gcc %{?ldflags}" CCLD="gcc %{?ldflags}" + +%install +rm -rf %{buildroot} +# fix installing in proper path on x86_64: +%makeinstall_std libdir=%buildroot%_libdir +rm -fr %buildroot%_docdir/ +rm -fr %buildroot%_libdir/menu/ + +# remove unneeded files +rm -rf %{buildroot}/%{_includedir} + +%{find_lang} %{name} + +%clean +rm -rf %{buildroot} + +%post +# install gtk IM module +gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules.%_lib + +%postun +gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules.%_lib + +%post gtk3 +gtk-query-immodules-3.0 --update-cache + +%postun gtk3 +gtk-query-immodules-3.0 --update-cache + +%files -f %{name}.lang +%defattr(-,root,root) +%doc AUTHORS Changelog* README* +%{_bindir}/* +%{_datadir}/applications/hime-tools.desktop +%{_datadir}/hime +%{_datadir}/pixmaps/* +%{_iconsdir}/* +%{_mandir}/man?/* +%{_libdir}/gtk-2.0/immodules/*.so + +%files gtk3 +%defattr(-,root,root) +%{_libdir}/gtk-3.0/immodules/*.so + +%files qt4 +%defattr(-,root,root) +%{qt4plugins}/inputmethods/*.so + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/hime/* + + +%changelog +* Wed Dec 14 2011 yochenhsieh <yochenhsieh> 0.9-1.mga2 +- first spec for Mageia +- based on the spec of gcin. Thanks! diff --git a/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment-0001.html new file mode 100644 index 000000000..a44821411 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment-0001.html @@ -0,0 +1,5 @@ +same prob with alpha2<br><br>[root@localhost mga2]# cat /proc/asound/cards<br> 0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx<br> HDA VIA VT82xx at 0xfbffc000 irq 17<br> 1 [Bt878 ]: Bt87x - Brooktree Bt878<br> + Brooktree Bt878 at 0xf7fff000, irq 17<br><br>[root@localhost mga2]# getfacl /dev/snd/pcm*<br>getfacl: Entferne führende '/' von absoluten Pfadnamen<br># file: dev/snd/pcmC0D0c<br># owner: root<br> +# group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC0D0p<br># owner: root<br># group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC0D1p<br># owner: root<br># group: audio<br> +user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC1D0c<br># owner: root<br># group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC1D1c<br># owner: root<br># group: audio<br>user::rw-<br> +group::rw-<br>other::---<br><br><br>[root@localhost mga2]# fuser -v /dev/snd/pcm*<br>[root@localhost mga2]# <br> diff --git a/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment.html b/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment.html new file mode 100644 index 000000000..a44821411 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20111214/6a210e33/attachment.html @@ -0,0 +1,5 @@ +same prob with alpha2<br><br>[root@localhost mga2]# cat /proc/asound/cards<br> 0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx<br> HDA VIA VT82xx at 0xfbffc000 irq 17<br> 1 [Bt878 ]: Bt87x - Brooktree Bt878<br> + Brooktree Bt878 at 0xf7fff000, irq 17<br><br>[root@localhost mga2]# getfacl /dev/snd/pcm*<br>getfacl: Entferne führende '/' von absoluten Pfadnamen<br># file: dev/snd/pcmC0D0c<br># owner: root<br> +# group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC0D0p<br># owner: root<br># group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC0D1p<br># owner: root<br># group: audio<br> +user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC1D0c<br># owner: root<br># group: audio<br>user::rw-<br>group::rw-<br>other::---<br><br># file: dev/snd/pcmC1D1c<br># owner: root<br># group: audio<br>user::rw-<br> +group::rw-<br>other::---<br><br><br>[root@localhost mga2]# fuser -v /dev/snd/pcm*<br>[root@localhost mga2]# <br> |