Compare commits
4 Commits
Browser_0-
...
master
Author | SHA1 | Date | |
---|---|---|---|
1a667b0b8f | |||
43ac137e66 | |||
24feb664f3 | |||
0f0b05e2c0 |
|
@ -23,7 +23,7 @@ title=Release
|
||||||
#targets
|
#targets
|
||||||
[tests]
|
[tests]
|
||||||
type=command
|
type=command
|
||||||
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/tests.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) clint.log fixme.log tests.log xmllint.log; fi)
|
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/embedded.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/tests.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) clint.log embedded.log fixme.log tests.log xmllint.log; fi)
|
||||||
depends=all
|
depends=all
|
||||||
enabled=0
|
enabled=0
|
||||||
phony=1
|
phony=1
|
||||||
|
|
|
@ -180,6 +180,9 @@ static Git * _git_init(BrowserPluginHelper * helper)
|
||||||
widget = _init_button(group, GTK_STOCK_FIND, _("View log"),
|
widget = _init_button(group, GTK_STOCK_FIND, _("View log"),
|
||||||
G_CALLBACK(_git_on_log), git);
|
G_CALLBACK(_git_on_log), git);
|
||||||
gtk_box_pack_start(GTK_BOX(git->directory), widget, FALSE, TRUE, 0);
|
gtk_box_pack_start(GTK_BOX(git->directory), widget, FALSE, TRUE, 0);
|
||||||
|
widget = _init_button(group, GTK_STOCK_ADD, _("Stage"),
|
||||||
|
G_CALLBACK(_git_on_add), git);
|
||||||
|
gtk_box_pack_start(GTK_BOX(git->directory), widget, FALSE, TRUE, 0);
|
||||||
widget = _init_button(group, GTK_STOCK_PROPERTIES, _("Status"),
|
widget = _init_button(group, GTK_STOCK_PROPERTIES, _("Status"),
|
||||||
G_CALLBACK(_git_on_status), git);
|
G_CALLBACK(_git_on_status), git);
|
||||||
gtk_box_pack_start(GTK_BOX(git->directory), widget, FALSE, TRUE, 0);
|
gtk_box_pack_start(GTK_BOX(git->directory), widget, FALSE, TRUE, 0);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2016 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2016-2024 Pierre Pronchery <khorben@defora.org>
|
||||||
#This file is part of DeforaOS Desktop Browser
|
#This file is part of DeforaOS Desktop Browser
|
||||||
#Redistribution and use in source and binary forms, with or without
|
#Redistribution and use in source and binary forms, with or without
|
||||||
#modification, are permitted provided that the following conditions are met:
|
#modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -51,5 +51,52 @@ _embedded()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#usage
|
||||||
|
_usage()
|
||||||
|
{
|
||||||
|
echo "Usage: $PROGNAME [-c] target..." 1>&2
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#main
|
#main
|
||||||
_embedded || exit 2
|
clean=0
|
||||||
|
while getopts "cO:P:" name; do
|
||||||
|
case "$name" in
|
||||||
|
c)
|
||||||
|
clean=1
|
||||||
|
;;
|
||||||
|
O)
|
||||||
|
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||||
|
;;
|
||||||
|
P)
|
||||||
|
#XXX ignored for compatibility
|
||||||
|
;;
|
||||||
|
?)
|
||||||
|
_usage
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
shift $((OPTIND - 1))
|
||||||
|
if [ $# -lt 1 ]; then
|
||||||
|
_usage
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
#clean
|
||||||
|
[ $clean -ne 0 ] && exit 0
|
||||||
|
|
||||||
|
exec 3>&1
|
||||||
|
ret=0
|
||||||
|
while [ $# -gt 0 ]; do
|
||||||
|
target="$1"
|
||||||
|
dirname="${target%/*}"
|
||||||
|
shift
|
||||||
|
|
||||||
|
if [ -n "$dirname" -a "$dirname" != "$target" ]; then
|
||||||
|
$MKDIR -- "$dirname" || ret=$?
|
||||||
|
fi
|
||||||
|
_embedded > "$target" || ret=$?
|
||||||
|
done
|
||||||
|
exit $ret
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
targets=clint.log,fixme.log,htmllint.log,plugins,tests.log,vfs,xmllint.log
|
targets=clint.log,embedded.log,fixme.log,htmllint.log,plugins,tests.log,vfs,xmllint.log
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include
|
||||||
cflags_force=`pkg-config --cflags libDesktop`
|
cflags_force=`pkg-config --cflags libDesktop`
|
||||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
|
@ -25,6 +25,12 @@ script=./clint.sh
|
||||||
enabled=0
|
enabled=0
|
||||||
depends=clint.sh
|
depends=clint.sh
|
||||||
|
|
||||||
|
[embedded.log]
|
||||||
|
type=script
|
||||||
|
script=./embedded.sh
|
||||||
|
enabled=0
|
||||||
|
depends=embedded.sh
|
||||||
|
|
||||||
[fixme.log]
|
[fixme.log]
|
||||||
type=script
|
type=script
|
||||||
script=./fixme.sh
|
script=./fixme.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user