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.4.0rc2/Makefile (-10 / +10 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 7-13 Link Here
7
exec_prefix = $(prefix)
7
exec_prefix = $(prefix)
8
bindir = $(exec_prefix)/bin
8
bindir = $(exec_prefix)/bin
9
datadir = $(prefix)/share
9
datadir = $(prefix)/share
10
sysconfdir = /etc
10
sysconfdir = ${D}etc
11
mandir = $(prefix)/share/man
11
mandir = $(prefix)/share/man
12
man1dir = $(mandir)/man1
12
man1dir = $(mandir)/man1
13
13
Lines 42-64 Link Here
42
	chmod 755 $(datadir)/bibus/bibusStart.py
42
	chmod 755 $(datadir)/bibus/bibusStart.py
43
43
44
	# basic doc files
44
	# basic doc files
45
	install -m755 -d $(datadir)/doc/bibus
45
	install -m755 -d $(datadir)/doc/${PF}
46
	install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
46
	install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/${PF}
47
47
48
	# generating bibus.cfg file
48
	# generating bibus.cfg file
49
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
49
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
50
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
50
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
51
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
51
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
52
	echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
52
	echo 'docdir = $(datadir)/doc/${PF}/html' >> $(datadir)/bibus/bibus.cfg
53
	echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
53
	echo 'licence = $(datadir)/doc/${PF}/copying' >> $(datadir)/bibus/bibus.cfg
54
	echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
54
	echo 'localedir = /usr/share/locale' >> $(datadir)/bibus/bibus.cfg
55
	echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
55
	echo 'systemconf = /etc/bibus.config' >> $(datadir)/bibus/bibus.cfg
56
endef
56
endef
57
57
58
define install-doc-en
58
define install-doc-en
59
	# copying docs in from Docs/html/en/ for bibus-doc-en
59
	# copying docs in from Docs/html/en/ for bibus-doc-en
60
	cd Docs;\
60
	cd Docs;\
61
	find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
61
	find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/${PF}/'{}' ';'
62
endef
62
endef
63
63
64
define compile
64
define compile
Lines 85-91 Link Here
85
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
85
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
86
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
86
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
87
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
87
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
88
		echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
88
		echo "rm -rf $(datadir)/doc/${PF}" >> $(datadir)/bibus/Setup/uninstall.sh
89
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
89
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
90
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
90
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
91
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh
91
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh
(-)bibus-1.4.0rc2/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.4.0rc2/Setup/Makefile (-10 / +10 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 7-13 Link Here
7
exec_prefix = $(prefix)
7
exec_prefix = $(prefix)
8
bindir = $(exec_prefix)/bin
8
bindir = $(exec_prefix)/bin
9
datadir = $(prefix)/share
9
datadir = $(prefix)/share
10
sysconfdir = /etc
10
sysconfdir = ${D}etc
11
mandir = $(prefix)/share/man
11
mandir = $(prefix)/share/man
12
man1dir = $(mandir)/man1
12
man1dir = $(mandir)/man1
13
13
Lines 42-64 Link Here
42
	chmod 755 $(datadir)/bibus/bibusStart.py
42
	chmod 755 $(datadir)/bibus/bibusStart.py
43
43
44
	# basic doc files
44
	# basic doc files
45
	install -m755 -d $(datadir)/doc/bibus
45
	install -m755 -d $(datadir)/doc/${PF}
46
	install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
46
	install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/${PF}
47
47
48
	# generating bibus.cfg file
48
	# generating bibus.cfg file
49
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
49
	echo '[PATH]' > $(datadir)/bibus/bibus.cfg
50
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
50
	echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
51
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
51
	echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
52
	echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
52
	echo 'docdir = /usr/share/doc/${PF}/html' >> $(datadir)/bibus/bibus.cfg
53
	echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
53
	echo 'licence = /usr/share/doc/${PF}/copying' >> $(datadir)/bibus/bibus.cfg
54
	echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
54
	echo 'localedir = /usr/share/locale' >> $(datadir)/bibus/bibus.cfg
55
	echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
55
	echo 'systemconf = /etc/bibus.config' >> $(datadir)/bibus/bibus.cfg
56
endef
56
endef
57
57
58
define install-doc-en
58
define install-doc-en
59
	# copying docs in from Docs/html/en/ for bibus-doc-en
59
	# copying docs in from Docs/html/en/ for bibus-doc-en
60
	cd Docs;\
60
	cd Docs;\
61
	find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
61
	find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/${PF}/'{}' ';'
62
endef
62
endef
63
63
64
define compile
64
define compile
Lines 85-91 Link Here
85
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
85
		echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
86
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
86
		echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
87
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
87
		echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
88
		echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
88
		echo "rm -rf $(datadir)/doc/${PF}" >> $(datadir)/bibus/Setup/uninstall.sh
89
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
89
		echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
90
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
90
		echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
91
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh
91
	chmod 744 $(datadir)/bibus/Setup/uninstall.sh

Return to bug 179074