Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The luci.mk file has grown over the years and became more complex. This
change reorders some sections to make it more easy to read and understand
on the first view.
* move all constants into a common block
* put all standard package definitons together
* put the specific sections for the "luci-base" behind the common things
* have the defines for the translations at the very end
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
|
|
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
There is some translation effort ongoing in weblate,
so add also Finnish to the list of supported languages.
Katsotaan riittääkö innostuneita kääntäjiä...
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
This includes `bn_BD` and `bn` via an alias.
Weblate currently does not support `bn_IN` (Indian Bangla), so I think
the alias is reasonable.
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3911
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
subdirectories"
This reverts commit e6f77d5d72c0e13ed3eb370419abab52c4920a32.
Commit contained unrelated changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3911
Fixes: 9d8e99f9b build: gracefully handle non-Git source trees
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3911
Fixes: 59fe4086f ("build: luci.mk: drop support for non-Git SCMs")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Also pass correct variable to builds to ensure that version.lua and cache
buster strings are properly interpolated.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
zh_Hans: 简体中文 (Chinese Simplified)
zh_Hant: 繁體中文 (Chinese Traditional)
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
|
|
- Derive the version of packages from the last change of the sources
- Derive the version of i18n packages from the last change of the po dir
Fixes: #2257
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Send a SIGHUP to rpcd after installing LuCI packages to reload ACL rules.
Also remove redundant code while we're at it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
If a postinst script is defined in the package Makefile, it will
not be included because it will be replaced by the default postinst
script. To solve the problem, we now check, if we have a postinst script.
And if so, it will be installed instead of the default postinst script.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Reported-by: Wellington Uemura
* update message header
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Fixes: #3477
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci.mk: move indexcache delete into postinst
|
|
luci-base: use luasrcdiet from separate package
|
|
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
Almost every uci-defaults script for ucitrack execute after the uci
commands the following line '/tmp/luci-indexcache'.
So that we don't always write the same thing, we now do this in
postinst.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
luasrcdiet is being moved to the packages feed as a separate package.
Adjust luci feed accordingly.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
Signed-off-by: Simmar Kalsi <simmarkalsi@gmail.com>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Stage required libraries as well
- Remove not existing make target
- Override library search path
Fixes: b5d5e5bf1 ("luci-base: update luasrcdiet")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-base: update luasrcdiet
|
|
Tested and works with no problem.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
|
|
Support a new varable LUCI_EXTRA_DEPENDS which can be used to pass
OpenWrt EXTRA_DEPENDS to buildroot.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
sorting language in .config by lexical order
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Rectification of non-standard name for language Chinese.
Signed-off-by: Angus Ding angus.ding@gmail.com
|
|
Fix the length of the abbreviated commit hash used in
the LuCI version string used in the package names.
Use the old standard of seven characters in hash.
New git versions vary the length of the abbreviated
commit hash based on the number of objects in repo. That
may lead into different hash lengths with e.g. having
full/shallow git history, having all/single branch or
having different git versions in different build hosts.
Different hash lengths in package name may lead to
sneaky opkg install errors, as opkg apparently preserves
info for removed packages and may prefer that.
Example:
$ opkg install http://downloads...luci-app-statistics_git-17.073.42825-b47a21f-1_all.ipk
Downloading http://downloads...luci-app-statistics_git-17.073.42825-b47a21f-1_all.ipk
Installing luci-app-statistics (git-17.073.42825-b47a21fbb-1) to root...
Collected errors:
* opkg_download_pkg: Package luci-app-statistics is not available from any configured src.
The error above is ultimately in opkg, but mitigate
the problem by fixing the hash length when building LuCI.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
LEDE's scripts/feeds script creates local branches named after the checked
out commit hash, confusing local branch detection.
Solely use remote branch detection to avoid misidentifying such cases.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When LuCI is checked out via pinned feeds configuration, its source tree will
end up in detached head state, requiring some more magic to figure out the
proper branch.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Adds Korean language supported for Luci of OpenWRT. Most of msgs which
shown at UI are translated but still not completed for non-popular
features.
Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
|
|
Append a ?v=version string to any media or resource URL that has a .js or .css
extension.
Also substitute placeholders in the form <%# xxxPKG_VERSION %> where
xxx is replaced verbatim and PKG_VERSION with the actual version, e.g.
<%# ?x=PKG_VERSION %> will result in "?x=git-16.237.30043-f885853".
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This reverts commit d4c33720208346ee7983213fe764df3102b8a771.
PATH inconsistencies and Host/Install arguments have been fixed in both
LEDE and OpenWrt, so we can revert the revert.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
This reverts commit 87a7570690f7aeffb1aff01f320973c9acb668d3.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Also, don't make any assumptions about the staging dir lua and LuaSrcDiet
were installed to.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
An lua interpreter is required on the building host to run the
luasrcdiet lua script. Due to a build change, the interpreter was not
being installed to the correct location.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
|
|
Adjust luci.mk and luci-base to find out correctly if Luci is built
from master or from a branch. Display that value in the footer and
the overview page.
* Evaluate the git branch in luci.mk and pass that to LuCI submodules
as a make variable. Use branch name, ignore tags.
* Deprecate svn detection in luci-base's mkversion.sh that generates
version.lua. Simply use the value passed by make.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
SK language code refers to Slovak, not Slovene.
Native language name is correct.
References:
https://forum.openwrt.org/viewtopic.php?id=60235
https://en.wikipedia.org/wiki/Slovak_language
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Make sure that translation packages enabled through CONFIG_ALL
that depend on builtin packages are restricted to modules.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
|
|
Also mark packages without src/ as arch independant by default.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|