diff options
author | edwin <edwin@FreeBSD.org> | 2005-10-23 14:18:24 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-10-23 14:18:24 +0800 |
commit | b225c3d05f19158d85af38d8f70287591111b16e (patch) | |
tree | 56476dc8e6c6e84831a461c5caa67b1b2ba300b8 /polish | |
parent | 64286428afbd09cdf2f61ea80fae709b0fd639da (diff) | |
download | freebsd-ports-gnome-b225c3d05f19158d85af38d8f70287591111b16e.tar.gz freebsd-ports-gnome-b225c3d05f19158d85af38d8f70287591111b16e.tar.zst freebsd-ports-gnome-b225c3d05f19158d85af38d8f70287591111b16e.zip |
Add missing patch files
PR: ports/87666
Submitted by: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Diffstat (limited to 'polish')
-rw-r--r-- | polish/kadu/files/patch-kadu_Makefile.in | 56 | ||||
-rw-r--r-- | polish/kadu/files/patch-modules_Makefile.in | 12 |
2 files changed, 68 insertions, 0 deletions
diff --git a/polish/kadu/files/patch-kadu_Makefile.in b/polish/kadu/files/patch-kadu_Makefile.in new file mode 100644 index 000000000000..91a0ba214a33 --- /dev/null +++ b/polish/kadu/files/patch-kadu_Makefile.in @@ -0,0 +1,56 @@ +--- kadu/Makefile.in Tue Oct 11 02:16:57 2005 ++++ kadu/Makefile.in Tue Oct 18 20:35:30 2005 +@@ -517,35 +517,24 @@ + install-data-local: + $(mkinstalldirs) "$(DESTDIR)/$(includedir)/kadu/" + $(INSTALL_DATA) *.h "$(DESTDIR)/$(includedir)/kadu/" +- @if test -w "$(DESTDIR)$(datadir)"; then \ +- $(mkinstalldirs) "$(DESTDIR)$(datadir)/applnk/Internet/"; \ +- echo "[Desktop Entry]" > "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "Type=Application" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "Exec=$(bindir)/kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "Icon=kadu.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "MiniIcon=kadu-16.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "Terminal=0" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- echo "Name=Kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \ +- $(mkinstalldirs) "$(DESTDIR)$(datadir)/pixmaps/"; \ +- $(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-48.png"; \ +- $(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu.png"; \ +- $(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-24.png"; \ +- $(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-22.png"; \ +- $(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-16.png"; \ +- echo ""; \ +- echo "Icons installed to $(DESTDIR)$(datadir)/pixmaps"; \ +- echo "Link(kadu.desktop) installed to $(DESTDIR)$(datadir)/applnk/Internet"; \ +- echo ""; \ +- else \ +- echo "";\ +- echo " *******************************************************************"; \ +- echo " * *"; \ +- echo " * You don't have permission to write $(datadir) *"; \ +- echo " * Icons and link(kadu.desktop) won't be installed *"; \ +- echo " * *"; \ +- echo " *******************************************************************"; \ +- echo $(DESTDIR)"";\ +- fi; ++ echo "[Desktop Entry]" > "$(srcdir)/kadu.desktop" ++ echo "Encoding=UTF-8" >> "$(srcdir)/kadu.desktop" ++ echo "Categories=Application;Network;" >> "$(srcdir)/kadu.desktop" ++ echo "Type=Application" >> "$(srcdir)/kadu.desktop" ++ echo "Exec=kadu" >> "$(srcdir)/kadu.desktop" ++ echo "Icon=kadu.png" >> "$(srcdir)/kadu.desktop" ++ echo "Terminal=false" >> "$(srcdir)/kadu.desktop" ++ echo "Name=Kadu" >> "$(srcdir)/kadu.desktop" ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps ++ $(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/kadu.png" ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps ++ $(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/kadu.png" ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/24x24/apps ++ $(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/24x24/apps/kadu.png" ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/22x22/apps ++ $(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/22x22/apps/kadu.png" ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps ++ $(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/kadu.png" + + uninstall-local: + rm -f "$(DESTDIR)/$(includedir)/kadu"/*.h diff --git a/polish/kadu/files/patch-modules_Makefile.in b/polish/kadu/files/patch-modules_Makefile.in new file mode 100644 index 000000000000..5a83bb67c34e --- /dev/null +++ b/polish/kadu/files/patch-modules_Makefile.in @@ -0,0 +1,12 @@ +--- modules/Makefile.in Tue Oct 11 02:16:57 2005 ++++ modules/Makefile.in Tue Oct 18 19:34:54 2005 +@@ -295,7 +295,8 @@ + if test -d translations; then \ + cd translations && \ + for trans in *.ts; do \ +- if [ ! -e $${trans//\ts/qm} ] || test $$trans -nt $${trans//\ts/qm}; then \ ++ trans_qm="$$(echo $${trans} | sed -e 's/\.ts$$/\.qm/')"; \ ++ if [ ! -e $${trans_qm} ] || test $$trans -nt $${trans_qm}; then \ + $(QT_LRELEASE_DIR)/lrelease $$trans; \ + fi; \ + done && \ |