Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 179074 | Differences between
and this patch

Collapse All | Expand All

(-)bibus-1.2.0-orig/Setup/bibus.sh (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
export LD_LIBRARY_PATH=/usr/lib/openoffice/program
2
export LD_LIBRARY_PATH=/usr/lib/openoffice/program
3
export PYTHONPATH=/usr/lib/openoffice/program
3
export PYTHONPATH=/usr/lib/openoffice/program
4
exec /usr/bin/python /usr/local/share/bibus/bibus.py
4
exec /usr/bin/python /usr/share/bibus/bibus.py
(-)bibus-1.2.0-orig/Setup/Makefile (-13 / +13 lines)
Lines 1-5 Link Here
1
# you presumably will only have to change the three first lines below
1
# you presumably will only have to change the three first lines below
2
DESTDIR = /usr/local
2
DESTDIR = ${D}usr
3
python = /usr/bin/python
3
python = /usr/bin/python
4
oopath = /usr/lib/openoffice/program
4
oopath = /usr/lib/openoffice/program
5
#
5
#
Lines 54-74 Link Here
54
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
54
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
55
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
55
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
56
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
56
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
57
	echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
57
	echo 'docdir = /usr/share/doc/${PF}/html' >> $(datadir)/bibus/bibus.cfg
58
	echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
58
	echo 'licence = /usr/share/doc/${PF}/copying' >> $(datadir)/bibus/bibus.cfg
59
	echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
59
	echo 'localedir = /usr/share/locale' >> $(datadir)/bibus/bibus.cfg
60
	echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
60
	echo 'systemconf = /etc/bibus.config' >> $(datadir)/bibus/bibus.cfg
61
endef
61
endef
62
62
63
define install-doc-en
63
define install-doc-en
64
	# copying docs in from Docs/html/en/ for bibus-doc-en
64
	# copying docs in from Docs/html/en/ for bibus-doc-en
65
	install -d $(datadir)/doc/bibus/html
65
	install -d $(datadir)/doc/${PF}/html
66
	cp -R Docs/html/ScreenShots $(datadir)/doc/bibus/html
66
	cp -R Docs/html/ScreenShots $(datadir)/doc/${PF}/html
67
	cp -R Docs/html/en $(datadir)/doc/bibus/html
67
	cp -R Docs/html/en $(datadir)/doc/${PF}/html
68
	chmod -R 644 $(datadir)/doc/bibus/html/
68
	chmod -R 644 $(datadir)/doc/${PF}/html/
69
	chmod 755 $(datadir)/doc/bibus/html
69
	chmod 755 $(datadir)/doc/${PF}/html
70
	chmod 755 $(datadir)/doc/bibus/html/ScreenShots
70
	chmod 755 $(datadir)/doc/${PF}/html/ScreenShots
71
	chmod 755 $(datadir)/doc/bibus/html/en
71
	chmod 755 $(datadir)/doc/${PF}/html/en
72
endef
72
endef
73
73
74
define compile
74
define compile
Lines 95-101 Link Here
95
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
95
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
96
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
96
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
97
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
97
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
98
		echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
98
		echo "rm -rf $(datadir)/doc/${PF}" >> $(datadir)/bibus/Setup/uninstall.sh
99
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
99
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
100
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
100
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
101
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh
101
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh

Return to bug 179074