Skip to content

Commit d1ce32d

Browse files
committed
[add] : Add pen4 lxde
1 parent d8d820b commit d1ce32d

10 files changed

Lines changed: 364 additions & 17 deletions

File tree

Makefile

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,51 @@ KERNEL := zen
55
SHARE_OPTION := --boot-splash --comp-type "xz" --user "alter" --password "alter" --kernel "${KERNEL}" --noconfirm
66
ARCH_x86_64 := --arch x86_64
77
ARCH_i686 := --arch i686
8+
ARCH_Pen4 := --arch pen4
89
FULLBUILD := -d -g -e --noconfirm
910
DEBUG_OPTION := --debug --log
1011
DEBUG := false
1112
FULL_x86_64 := xfce cinnamon i3 plasma gnome
1213
FULL_i686 := xfce lxde
14+
FULL_Pen4 := xfce lxde
15+
1316
CURRENT_DIR := ${shell dirname $(dir $(abspath $(lastword $(MAKEFILE_LIST))))}/${shell basename $(dir $(abspath $(lastword $(MAKEFILE_LIST))))}
1417

1518
ifeq (${DEBUG},true)
1619
ARGS += ${ARGS} ${DEBUG_OPTION}
1720
endif
1821

19-
full:
22+
full: full-x86_64 full-i686 clean
23+
24+
full-x86_64:
2025
sudo ${CURRENT_DIR}/tools/fullbuild.sh ${FULLBUILD} -m x86_64 ${FULL_x86_64}
26+
27+
full-i686:
2128
sudo ${CURRENT_DIR}/tools/fullbuild.sh ${FULLBUILD} -m i686 ${FULL_i686}
22-
@make clean
23-
24-
basic-ja-64 basic-en-64 basic-ja-32 basic-en-32 \
25-
cinnamon-ja-64 cinnamon-en-64 cinnamon-ja-32 cinnamon-en-32 \
26-
gnome-ja-64 gnome-en-64 gnome-ja-32 gnome-en-32 \
27-
i3-ja-64 i3-en-64 i3-ja-32 i3-en-32 \
28-
lxde-ja-64 lxde-en-64 lxde-ja-32 lxde-en-32 \
29-
plasma-ja-64 plasma-en-64 \
30-
releng-ja-64 releng-en-64 releng-ja-32 releng-en-32 \
31-
serene-ja-64 serene-en-64 serene-ja-32 serene-en-32 \
32-
xfce-ja-64 xfce-en-64 xfce-ja-32 xfce-en-32 \
33-
xfce-pro-ja-64 xfce-pro-en-64 \
29+
30+
full-pen4:
31+
sudo ${CURRENT_DIR}/tools/fullbuild.sh ${FULLBUILD} -m pen4 ${FULL_Pen4}
32+
33+
basic-ja-64 basic-en-64 basic-ja-32 basic-en-32 basic-ja-pen4 basic-en-pen4 \
34+
cinnamon-ja-64 cinnamon-en-64 cinnamon-ja-32 cinnamon-en-32 cinnamon-ja-pen4 cinnamon-en-pen4 \
35+
gnome-ja-64 gnome-en-64 gnome-ja-32 gnome-en-32 gnome-ja-pen4 gnome-en-pen4 \
36+
i3-ja-64 i3-en-64 i3-ja-32 i3-en-32 i3-ja-pen4 i3-en-pen4 \
37+
lxde-ja-64 lxde-en-64 lxde-ja-32 lxde-en-32 lxde-ja-pen4 lxde-en-pen4 \
38+
plasma-ja-64 plasma-en-64 \
39+
releng-ja-64 releng-en-64 releng-ja-32 releng-en-32 releng-ja-pen4 releng-en-pen4 \
40+
serene-ja-64 serene-en-64 serene-ja-32 serene-en-32 serene-ja-pen4 serene-en-pen4 \
41+
xfce-ja-64 xfce-en-64 xfce-ja-32 xfce-en-32 xfce-ja-pen4 xfce-en-pen4 \
42+
xfce-pro-ja-64 xfce-pro-en-64 \
3443
:
3544
@$(eval ARCHITECTURE=${shell echo ${@} | rev | cut -d '-' -f 1 | rev })
3645
@$(eval LOCALE=${shell echo ${@} | rev | cut -d '-' -f 2 | rev })
3746
@$(eval CHANNEL=${shell echo ${@} | sed "s/-${LOCALE}-${ARCHITECTURE}//g"})
3847
@[[ -z "${CHANNEL}" ]] && echo "Empty Channel" && exit 1 || :
3948
@case ${ARCHITECTURE} in\
40-
"32") sudo ${CURRENT_DIR}/${BUILD_SCRIPT} ${ARGS} ${SHARE_OPTION} ${ARCH_i686} -l ${LOCALE} ${CHANNEL} ;;\
41-
"64") sudo ${CURRENT_DIR}/${BUILD_SCRIPT} ${ARGS} ${SHARE_OPTION} ${ARCH_x86_64} -l ${LOCALE} ${CHANNEL};;\
42-
* ) echo "Unknown Architecture"; exit 1 ;; \
49+
"i686") sudo ${CURRENT_DIR}/${BUILD_SCRIPT} ${ARGS} ${SHARE_OPTION} ${ARCH_pen4} -l ${LOCALE} ${CHANNEL} ;;\
50+
"32" ) sudo ${CURRENT_DIR}/${BUILD_SCRIPT} ${ARGS} ${SHARE_OPTION} ${ARCH_i686} -l ${LOCALE} ${CHANNEL} ;;\
51+
"64" ) sudo ${CURRENT_DIR}/${BUILD_SCRIPT} ${ARGS} ${SHARE_OPTION} ${ARCH_x86_64} -l ${LOCALE} ${CHANNEL};;\
52+
* ) echo "Unknown Architecture"; exit 1 ;; \
4353
esac
4454

4555
menuconfig/build/mconf::
@@ -49,7 +59,7 @@ menuconfig/build/mconf::
4959
menuconfig:menuconfig/build/mconf menuconfig-script/kernel_choice menuconfig-script/channel_choice
5060
@menuconfig/build/mconf menuconfig-script/rootconf
5161

52-
menuconfig-script/kernel_choice:system/kernel-x86_64 system/kernel-i686
62+
menuconfig-script/kernel_choice:system/kernel-x86_64 system/kernel-i686 system/kernel-pen4
5363
@${CURRENT_DIR}/tools/kernel-choice-conf-gen.sh
5464
menuconfig-script/channel_choice:
5565
@${CURRENT_DIR}/tools/channel-choice-conf-gen.sh
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[Seat:*]
2+
greeter-session=lightdm-slick-greeter
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[Greeter]
2+
draw-user-backgrounds=false
3+
background=/usr/share/backgrounds/alter-nochr.png
4+
theme-name=Adapta-Nokto-Eta
5+
icon-theme-name=Papirus-Dark
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# lxpanel <profile> config file. Manually editing is not recommended.
2+
# Use preference dialog in lxpanel to adjust config when you can.
3+
4+
Global {
5+
edge=bottom
6+
align=left
7+
margin=0
8+
widthtype=percent
9+
width=100
10+
height=34
11+
transparent=0
12+
tintcolor=#000000
13+
alpha=0
14+
setdocktype=1
15+
setpartialstrut=1
16+
autohide=0
17+
heightwhenhidden=0
18+
usefontcolor=0
19+
fontcolor=#ffffff
20+
background=0
21+
backgroundfile=/usr/share/lxpanel/images/background.png
22+
iconsize=27
23+
}
24+
Plugin {
25+
type=space
26+
Config {
27+
Size=5
28+
}
29+
}
30+
Plugin {
31+
type=menu
32+
Config {
33+
image=/usr/share/icons/hicolor/36x36/apps/alter.png
34+
system {
35+
}
36+
separator {
37+
}
38+
item {
39+
command=run
40+
}
41+
separator {
42+
}
43+
item {
44+
image=gnome-logout
45+
command=logout
46+
}
47+
}
48+
}
49+
Plugin {
50+
type=space
51+
Config {
52+
Size=7
53+
}
54+
}
55+
Plugin {
56+
type=launchbar
57+
Config {
58+
Button {
59+
id=firefox.desktop
60+
}
61+
Button {
62+
id=pcmanfm.desktop
63+
}
64+
Button {
65+
id=lxterminal.desktop
66+
}
67+
Button {
68+
id=lxtask.desktop
69+
}
70+
Button {
71+
id=org.gnome.Screenshot.desktop
72+
}
73+
}
74+
}
75+
Plugin {
76+
type=space
77+
Config {
78+
Size=20
79+
}
80+
}
81+
Plugin {
82+
type=taskbar
83+
expand=1
84+
Config {
85+
tooltips=-1
86+
IconsOnly=-1
87+
AcceptSkipPager=1
88+
ShowIconified=1
89+
ShowMapped=1
90+
ShowAllDesks=0
91+
UseMouseWheel=0
92+
UseUrgencyHint=1
93+
FlatButton=-1
94+
MaxTaskWidth=50
95+
spacing=1
96+
SameMonitorOnly=-1
97+
GroupedTasks=0
98+
}
99+
}
100+
Plugin {
101+
type=pager
102+
Config {
103+
}
104+
}
105+
Plugin {
106+
type=xkb
107+
Config {
108+
Model=pc105
109+
LayoutsList=us
110+
VariantsList=,
111+
ToggleOpt=grp:shift_caps_toggle
112+
DisplayType=0
113+
KeepSysLayouts=0
114+
NoResetOpt=0
115+
FlagSize=1
116+
}
117+
}
118+
Plugin {
119+
type=volume
120+
Config {
121+
VolumeMuteKey=XF86AudioMute
122+
VolumeDownKey=XF86AudioLowerVolume
123+
VolumeUpKey=XF86AudioRaiseVolume
124+
}
125+
}
126+
Plugin {
127+
type=tray
128+
Config {
129+
}
130+
}
131+
Plugin {
132+
type=dclock
133+
Config {
134+
ClockFmt=%R
135+
TooltipFmt=%A %x
136+
BoldFont=0
137+
IconOnly=0
138+
CenterText=0
139+
}
140+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# lxpanel <profile> config file. Manually editing is not recommended.
2+
# Use preference dialog in lxpanel to adjust config when you can.
3+
4+
Global {
5+
edge=bottom
6+
align=left
7+
margin=0
8+
widthtype=percent
9+
width=100
10+
height=34
11+
transparent=0
12+
tintcolor=#000000
13+
alpha=0
14+
setdocktype=1
15+
setpartialstrut=1
16+
autohide=0
17+
heightwhenhidden=0
18+
usefontcolor=0
19+
fontcolor=#ffffff
20+
background=0
21+
backgroundfile=/usr/share/lxpanel/images/background.png
22+
iconsize=27
23+
}
24+
Plugin {
25+
type=space
26+
Config {
27+
Size=5
28+
}
29+
}
30+
Plugin {
31+
type=menu
32+
Config {
33+
image=/usr/share/icons/hicolor/36x36/apps/alter.png
34+
system {
35+
}
36+
separator {
37+
}
38+
item {
39+
command=run
40+
}
41+
separator {
42+
}
43+
item {
44+
image=gnome-logout
45+
command=logout
46+
}
47+
}
48+
}
49+
Plugin {
50+
type=space
51+
Config {
52+
Size=7
53+
}
54+
}
55+
Plugin {
56+
type=launchbar
57+
Config {
58+
Button {
59+
id=firefox.desktop
60+
}
61+
Button {
62+
id=pcmanfm.desktop
63+
}
64+
Button {
65+
id=lxterminal.desktop
66+
}
67+
Button {
68+
id=lxtask.desktop
69+
}
70+
Button {
71+
id=org.gnome.Screenshot.desktop
72+
}
73+
}
74+
}
75+
Plugin {
76+
type=space
77+
Config {
78+
Size=20
79+
}
80+
}
81+
Plugin {
82+
type=taskbar
83+
expand=1
84+
Config {
85+
tooltips=-1
86+
IconsOnly=-1
87+
AcceptSkipPager=1
88+
ShowIconified=1
89+
ShowMapped=1
90+
ShowAllDesks=0
91+
UseMouseWheel=0
92+
UseUrgencyHint=1
93+
FlatButton=-1
94+
MaxTaskWidth=50
95+
spacing=1
96+
SameMonitorOnly=-1
97+
GroupedTasks=0
98+
}
99+
}
100+
Plugin {
101+
type=pager
102+
Config {
103+
}
104+
}
105+
Plugin {
106+
type=volume
107+
Config {
108+
VolumeMuteKey=XF86AudioMute
109+
VolumeDownKey=XF86AudioLowerVolume
110+
VolumeUpKey=XF86AudioRaiseVolume
111+
}
112+
}
113+
Plugin {
114+
type=tray
115+
Config {
116+
}
117+
}
118+
Plugin {
119+
type=dclock
120+
Config {
121+
ClockFmt=%R
122+
TooltipFmt=%A %x
123+
BoldFont=0
124+
IconOnly=0
125+
CenterText=0
126+
}
127+
}

channels/lxde/architecture

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99

1010
x86_64
1111
i686
12+
pen4

channels/lxde/packages.pen4/exclude

Whitespace-only changes.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# Alter Linux package list
3+
#
4+
# Yamada Hayao
5+
# Twitter: @Hayao0819
6+
# Email : hayao@fascode.net
7+
#
8+
# (c) 2019-2021 Fascode Network.
9+
#
10+
# Lxde Desktop Environment
11+
12+
13+
#-- lxde base --#
14+
# gpicview
15+
lxappearance
16+
lxappearance-obconf
17+
lxde-common
18+
lxde-icon-theme
19+
# lxdm LightDMで代用
20+
lxhotkey
21+
lxinput
22+
lxlauncher
23+
# lxmusic VLCがインストールされているため(Issues #51)
24+
lxpanel
25+
lxrandr
26+
lxsession
27+
lxtask
28+
lxterminal
29+
openbox
30+
pcmanfm
31+
32+
33+
#-- themes --#
34+
adapta-gtk-theme
35+
papirus-icon-theme
36+
37+
38+
#-- To run fascode-live-tools on lxde session --#
39+
python-pyxdg

0 commit comments

Comments
 (0)