Lines 46-51
Link Here
|
46 |
eprefixify util/fluxbox-generate_menu.in |
46 |
eprefixify util/fluxbox-generate_menu.in |
47 |
|
47 |
|
48 |
epatch "${FILESDIR}"/osx-has-otool.patch |
48 |
epatch "${FILESDIR}"/osx-has-otool.patch |
|
|
49 |
epatch "${FILESDIR}"/fluxbox-generate_menu-printf-fix.patch |
49 |
|
50 |
|
50 |
# Add in the Gentoo -r number to fluxbox -version output. |
51 |
# Add in the Gentoo -r number to fluxbox -version output. |
51 |
if [[ "${PR}" == "r0" ]] ; then |
52 |
if [[ "${PR}" == "r0" ]] ; then |
Lines 67-72
Link Here
|
67 |
$(use_enable nls) \ |
68 |
$(use_enable nls) \ |
68 |
$(use_enable slit ) \ |
69 |
$(use_enable slit ) \ |
69 |
$(use_enable toolbar ) \ |
70 |
$(use_enable toolbar ) \ |
|
|
71 |
$(use_enable toolbar systray ) \ |
70 |
$(use_enable truetype xft) \ |
72 |
$(use_enable truetype xft) \ |
71 |
$(use_enable xinerama) \ |
73 |
$(use_enable xinerama) \ |
72 |
--sysconfdir="${EPREFIX}"/etc/X11/${PN} \ |
74 |
--sysconfdir="${EPREFIX}"/etc/X11/${PN} \ |
Lines 78-108
Link Here
|
78 |
|
80 |
|
79 |
ebegin "Creating a menu file (may take a while)" |
81 |
ebegin "Creating a menu file (may take a while)" |
80 |
mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed" |
82 |
mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed" |
|
|
83 |
# Call fluxbox-generate_menu through bash since it lacks +x |
84 |
# chmod 744 may be an equal fix |
81 |
MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \ |
85 |
MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \ |
82 |
CHECKINIT="no. go away." HOME="${T}/home" \ |
86 |
CHECKINIT="no. go away." HOME="${T}/home" \ |
83 |
"${S}/util/fluxbox-generate_menu" -is -ds \ |
87 |
bash "${S}/util/fluxbox-generate_menu" -is -ds \ |
84 |
|| die "menu generation failed" |
88 |
|| die "menu generation failed" |
85 |
eend $? |
89 |
eend $? |
86 |
} |
90 |
} |
87 |
|
91 |
|
88 |
src_install() { |
92 |
src_install() { |
89 |
dodir /usr/share/fluxbox |
|
|
90 |
emake DESTDIR="${D}" STRIP="" install |
93 |
emake DESTDIR="${D}" STRIP="" install |
91 |
dodoc README* AUTHORS TODO* ChangeLog NEWS |
94 |
dodoc README* AUTHORS TODO* ChangeLog NEWS |
92 |
|
95 |
|
93 |
dodir /usr/share/xsessions |
96 |
# Install the generated menu |
|
|
97 |
insinto /usr/share/fluxbox |
98 |
doins data/menu |
99 |
|
94 |
insinto /usr/share/xsessions |
100 |
insinto /usr/share/xsessions |
95 |
doins "${FILESDIR}/${PN}.desktop" |
101 |
doins "${FILESDIR}"/${PN}.desktop |
96 |
|
102 |
|
97 |
exeinto /etc/X11/Sessions |
103 |
exeinto /etc/X11/Sessions |
98 |
newexe "${FILESDIR}/${PN}.xsession" fluxbox |
104 |
newexe "${FILESDIR}"/${PN}.xsession fluxbox |
99 |
|
|
|
100 |
dodir /usr/share/fluxbox/menu.d |
101 |
|
105 |
|
102 |
# Styles menu framework |
106 |
# Styles menu framework |
103 |
dodir /usr/share/fluxbox/menu.d/styles |
|
|
104 |
insinto /usr/share/fluxbox/menu.d/styles |
107 |
insinto /usr/share/fluxbox/menu.d/styles |
105 |
doins "${FILESDIR}/styles-menu-fluxbox" |
108 |
doins "${FILESDIR}"/styles-menu-fluxbox |
106 |
doins "${FILESDIR}/styles-menu-commonbox" |
109 |
doins "${FILESDIR}"/styles-menu-commonbox |
107 |
doins "${FILESDIR}/styles-menu-user" |
110 |
doins "${FILESDIR}"/styles-menu-user |
108 |
} |
111 |
} |