[packages/imlib] - updated gettext support, drop .la files
qboosh
qboosh at pld-linux.org
Fri Sep 26 19:23:16 CEST 2025
commit a93fbc4a7ccaa6555c75f882a83694a202aebce2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Sep 26 19:26:18 2025 +0200
- updated gettext support, drop .la files
imlib-full_i18n.patch | 86 ++++++++++++++++++++++++++-------------------------
imlib.spec | 16 +++++-----
2 files changed, 52 insertions(+), 50 deletions(-)
---
diff --git a/imlib.spec b/imlib.spec
index 590cedd..eea6d78 100644
--- a/imlib.spec
+++ b/imlib.spec
@@ -161,7 +161,7 @@ Bibliotecas estáticas para desenvolvimento com imlib.
%build
%{__gettextize}
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
@@ -176,10 +176,12 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
DESTDIR=$RPM_BUILD_ROOT \
m4datadir=%{_aclocaldir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
# no static modules and *.la for modules - shut up check-files
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libimlib-*.{la,a}
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{Imlib,gdk_imlib}.la
%find_lang %{name}
@@ -193,9 +195,9 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_libdir}/libImlib.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libImlib.so.1
+%ghost %{_libdir}/libImlib.so.1
%attr(755,root,root) %{_libdir}/libgdk_imlib.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgdk_imlib.so.1
+%ghost %{_libdir}/libgdk_imlib.so.1
%attr(755,root,root) %{_libdir}/libimlib-bmp.so
%attr(755,root,root) %{_libdir}/libimlib-gif.so
%attr(755,root,root) %{_libdir}/libimlib-jpeg.so
@@ -217,10 +219,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc doc/{*.gif,*.html}
%attr(755,root,root) %{_bindir}/imlib-config
-%attr(755,root,root) %{_libdir}/libImlib.so
-%attr(755,root,root) %{_libdir}/libgdk_imlib.so
-%{_libdir}/libImlib.la
-%{_libdir}/libgdk_imlib.la
+%{_libdir}/libImlib.so
+%{_libdir}/libgdk_imlib.so
%{_includedir}/Imlib*.h
%{_includedir}/gdk_imlib*.h
%{_aclocaldir}/imlib.m4
diff --git a/imlib-full_i18n.patch b/imlib-full_i18n.patch
index cd9f4ca..ccf5d0e 100644
--- a/imlib-full_i18n.patch
+++ b/imlib-full_i18n.patch
@@ -1,13 +1,15 @@
-diff -Nru imlib-1.9.10/Makefile.am imlib-1.9.10.new/Makefile.am
--- imlib-1.9.10/Makefile.am Sat Sep 30 04:09:41 2000
+++ imlib-1.9.10.new/Makefile.am Thu Apr 12 02:13:22 2001
@@ -1,4 +1,4 @@
-SUBDIRS = @GDK_IMLIB@ Imlib config doc
-+SUBDIRS = intl po @GDK_IMLIB@ Imlib config doc
++SUBDIRS = po @GDK_IMLIB@ Imlib config doc
bin_SCRIPTS = imlib-config
man_MANS = imlib-config.1
-diff -Nru imlib-1.9.10/configure.in imlib-1.9.10.new/configure.in
+--- imlib-1.9.10/po/LINGUAS Sat Sep 30 04:09:41 2000
++++ imlib-1.9.10.new/po/LINGUAS Thu Apr 12 02:13:22 2001
+@@ -0,0 +1 @@
++bg ca da de eo es fi fr gl hr hu id it lt nb nl pl pt ro sk sv tr uk wa zh_CN
--- imlib-1.9.10/configure.in Wed Mar 28 06:10:41 2001
+++ imlib-1.9.10.new/configure.in Thu Apr 12 02:15:09 2001
@@ -13,6 +13,9 @@
@@ -15,7 +17,7 @@ diff -Nru imlib-1.9.10/configure.in imlib-1.9.10.new/configure.in
AM_MAINTAINER_MODE
+ALL_LINGUAS="bg ca da de eo es fi fr gl hr hu id it lt nb nl pl pt ro sk sv tr uk wa zh_CN"
-+AM_GNU_GETTEXT
++AM_GNU_GETTEXT([external])
+
dnl Give the user an option to compile without shared memory support,
dnl incase it is broken for example.
@@ -76,123 +78,123 @@ diff -Nru imlib-1.9.10/po/bg.po imlib-1.9.10.new/po/bg.po
+"Last-Translator: Victor Tashev <vtashev at infonet.techno-link.com>\n"
+"Language-Team: Bulgarian\n"
+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=windows-1251\n"
++"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: utils/imlib_config.c:185
+msgid "Imlib Config Editor"
-+msgstr "�������� �� Imlib ��������������"
++msgstr "Редактор на Imlib конфигурацията"
+
+#: utils/imlib_config.c:948
+msgid "Base Levels"
-+msgstr "������ ����"
++msgstr "Базови Нива"
+
+#: utils/imlib_config.c:964
+msgid "Red Levels"
-+msgstr "���� �� ���������"
++msgstr "Нива на червеното"
+
+#: utils/imlib_config.c:980
+msgid "Green Levels"
-+msgstr "���� �� ��������"
++msgstr "Нива на зеленото"
+
+#: utils/imlib_config.c:996
+msgid "Blue Levels"
-+msgstr "���� �� �������"
++msgstr "Нива на синьото"
+
+#: utils/imlib_config.c:1038
+msgid "Small colour set"
-+msgstr "����� ����� �������"
++msgstr "Малък набор цветове"
+
+#: utils/imlib_config.c:1043
+msgid "Medium colour set"
-+msgstr "������ ����� �������"
++msgstr "Среден набор цветове"
+
+#: utils/imlib_config.c:1048
+msgid "Large colour set"
-+msgstr "����� ����� �������"
++msgstr "Голям набор цветове"
+
+#: utils/imlib_config.c:1057
+msgid "Select Palette File"
-+msgstr "�������� ���� � �������"
++msgstr "Изберете файл с палитра"
+
+#: utils/imlib_config.c:1066
+msgid "Select"
-+msgstr "������"
++msgstr "Избери"
+
+#: utils/imlib_config.c:1081
+msgid "Save"
-+msgstr "������"
++msgstr "Запази"
+
+#: utils/imlib_config.c:1113
+msgid "Copy To"
-+msgstr "������� �"
++msgstr "Копирай в"
+
+#: utils/imlib_config.c:1118
+msgid "Spread To"
-+msgstr "������� ��"
++msgstr "Разшири до"
+
+#: utils/imlib_config.c:1127
+msgid "Set Last"
-+msgstr "������� ��������"
++msgstr "Постави последно"
+
+#: utils/imlib_config.c:1132
+msgid "Delete"
-+msgstr "������"
++msgstr "Изтрий"
+
+#: utils/imlib_config.c:1372
+msgid "Save User Config"
-+msgstr "������ ������������� ������������"
++msgstr "Запази Потребителска конфигурация"
+
+#: utils/imlib_config.c:1379
+msgid "Save System Config"
-+msgstr "������ �������� ������������"
++msgstr "Запази Системна конфигурация"
+
+#: utils/imlib_config.c:1385
+msgid "Close"
-+msgstr "�������"
++msgstr "Затвори"
+
+#: utils/imlib_config.c:1525
+msgid "Color Correction"
-+msgstr "������� ��������"
++msgstr "Цветова Корекция"
+
+#: utils/imlib_config.c:1525
+msgid "Colors"
-+msgstr "�������"
++msgstr "Цветове"
+
+#: utils/imlib_config.c:1525
+msgid "Display"
-+msgstr "�������"
++msgstr "Дисплей"
+
+
+#: utils/imlib_config.c:1525
+msgid "Rendering"
-+msgstr "�����������"
++msgstr "Представяне"
+
+#: utils/imlib_config.c:1526
+msgid "Select Palette"
-+msgstr "�������� �������"
++msgstr "Изберете палитра"
+
+#: utils/imlib_config.c:1527
+msgid "Force Palette"
-+msgstr "������ �������"
++msgstr "Наложи палитра"
+
+
+#: utils/imlib_config.c:1528
+msgid "Dither in Palette Mode"
-+msgstr "������������ � ���������"
++msgstr "Разпръскване в Палитрата"
+
+
+#: utils/imlib_config.c:1529
+msgid "Fast Remapping in Palette Mode"
-+msgstr "����� ���������� � ����� �������"
++msgstr "Бързо мащабиране в режим Палитра"
+
+#: utils/imlib_config.c:1530
+msgid "High Quality in 15/16bpp"
-+msgstr "������ �������� � 15/16bpp"
++msgstr "Високо Качество в 15/16bpp"
+
+#: utils/imlib_config.c:1531
+msgid "Limit Maximum Shared memory Size (bytes)"
-+msgstr "���������� ������� �� ������� �� ���������� ����� (�������)"
++msgstr "Максимална Граница на размера на поделената памет (байтове)"
+
+#: utils/imlib_config.c:1533
+msgid "256 Kb"
@@ -221,22 +223,22 @@ diff -Nru imlib-1.9.10/po/bg.po imlib-1.9.10.new/po/bg.po
+
+#: utils/imlib_config.c:1539
+msgid "Use Ordered Dithering (Faster)"
-+msgstr "��������� ��������� ������������ (��-�����)"
++msgstr "Използвай избраното разпръскване (по-бързо)"
+
+
+#: utils/imlib_config.c:1540
+msgid "MIT-SHM Shared Memory Enabled"
-+msgstr "MIT-SHM ���������� �� ����������� �����"
++msgstr "MIT-SHM активиране на споделената памет"
+
+
+#: utils/imlib_config.c:1541
+msgid "Shared Pixmaps"
-+msgstr "��������� ��� �����"
++msgstr "Споделени пик карти"
+
+
+#: utils/imlib_config.c:1542
+msgid "Fast Render"
-+msgstr "����� �����������"
++msgstr "Бързо представяне"
+
+# FIXME
+#: utils/imlib_config.c:1543
@@ -245,7 +247,7 @@ diff -Nru imlib-1.9.10/po/bg.po imlib-1.9.10.new/po/bg.po
+
+#: utils/imlib_config.c:1544
+msgid "Image Cache (bytes)"
-+msgstr "��� �� ������������� (�������)"
++msgstr "Кеш на изображението (байтове)"
+
+#: utils/imlib_config.c:1547
+msgid "1 Mb"
@@ -270,7 +272,7 @@ diff -Nru imlib-1.9.10/po/bg.po imlib-1.9.10.new/po/bg.po
+
+#: utils/imlib_config.c:1552
+msgid "Pixmap Cache (bits)"
-+msgstr "��� �� ��� ������� (����)"
++msgstr "Кеш на Пик картата (бита)"
+
+#: utils/imlib_config.c:1554
+msgid "5120 Kbits"
@@ -299,7 +301,7 @@ diff -Nru imlib-1.9.10/po/bg.po imlib-1.9.10.new/po/bg.po
+
+#: utils/imlib_config.c:1560
+msgid "Force Visual ID"
-+msgstr "������ �������� ID"
++msgstr "Наложи зрително ID"
diff -Nru imlib-1.9.10/po/ca.po imlib-1.9.10.new/po/ca.po
--- imlib-1.9.10/po/ca.po Thu Jan 1 01:00:00 1970
+++ imlib-1.9.10.new/po/ca.po Thu Apr 12 02:13:22 2001
@@ -1471,7 +1473,7 @@ diff -Nru imlib-1.9.10/po/fi.po imlib-1.9.10.new/po/fi.po
+"Last-Translator: Kim Enkovaara <kim.enkovaara at iki.fi>\n"
+"Language-Team: Finnish <fi at li.org>\n"
+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=ISO 8859-15\n"
++"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 0.5(devel)\n"
+
@@ -4923,7 +4925,7 @@ diff -Nru imlib-1.9.10/po/tr.po imlib-1.9.10.new/po/tr.po
+"Last-Translator: G�rkem �etin <gorkem at gelecek.com.tr>\n"
+"Language-Team: Turkish <tr at li.org>\n"
+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=ISO8859-9\n"
++"Content-Type: text/plain; charset=ISO-8859-9\n"
+"Content-Transfer-Encoding: 8-bit\n"
+
+#: utils/imlib_config.c:185
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/imlib.git/commitdiff/a93fbc4a7ccaa6555c75f882a83694a202aebce2
More information about the pld-cvs-commit
mailing list