-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use fakeroot for « make deb »... #39
Labels
enhancement
New feature or request
Comments
Cool - thx for the suggestion - I'll plan for it
…On Thu, Feb 23, 2023 at 8:47 AM Creteil ***@***.***> wrote:
IMHO, it is better to use « fakeroot » to build the debian package :
***@***.****:*~/tmp/Building/actions-for-nautilus/actions-for-nautilus*$ fakeroot make deb
rm -rf build
mkdir -p build//usr/share/nautilus-python
mkdir -p build//usr/share/actions-for-nautilus-configurator
mkdir -p build//usr/share/applications
mkdir -p build//usr/share/doc/actions-for-nautilus
mkdir -p build/DEBIAN
cp -r --preserve=mode,timestamps extensions build//usr/share/nautilus-python
cp -r --preserve=mode,timestamps configurator/* build//usr/share/actions-for-nautilus-configurator
rm build//usr/share/actions-for-nautilus-configurator/javascript/jquery.min.js
LOC=/usr/share python3 -c 'import os,sys; sys.stdout.write(os.path.expandvars(sys.stdin.read()))' \
< build//usr/share/actions-for-nautilus-configurator/actions-for-nautilus-configurator.desktop \
> build//usr/share/applications/actions-for-nautilus-configurator.desktop
VERSION=1.6.0 python3 -c 'import os,sys; sys.stdout.write(os.path.expandvars(sys.stdin.read()))' \
< packaging/DEBIAN/control \
> build/DEBIAN/control
cp -r --preserve=mode,timestamps packaging/doc build//usr/share
cp README.md build//usr/share/doc/actions-for-nautilus
cp RELEASE-NOTES.md build//usr/share/doc/actions-for-nautilus/NEWS
mv build//usr/share/actions-for-nautilus-configurator/README.md build//usr/share/doc/actions-for-nautilus/configurator.README.md
gzip -n9 build//usr/share/doc/actions-for-nautilus/NEWS
gzip -n9 build//usr/share/doc/actions-for-nautilus/changelog
find build/ -type d -exec chmod 0755 {} \;
find build/ -type f -exec chmod 0644 {} \;
chmod +x build//usr/share/actions-for-nautilus-configurator/start-configurator.sh
dpkg-deb -Z gzip --build build dist/actions-for-nautilus_1.6.0_all.deb
*dpkg-deb:* construction du paquet « actions-for-nautilus » dans « dist/actions-for-nautilus_1.6.0_all.deb ».
lintian dist/actions-for-nautilus_1.6.0_all.deb
running with root privileges is not recommended!
W: actions-for-nautilus: copyright-without-copyright-notice
***@***.****:*~/tmp/Building/actions-for-nautilus/actions-for-nautilus*$
—
Reply to this email directly, view it on GitHub
<#39>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAKLWWDCQYVJH7H5QHOSG3WY4IYBANCNFSM6AAAAAAVFIX56M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Part of the outstanding PR - #37. Will get merged when I finally find time to retest. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IMHO, it is better to use « fakeroot » to build the debian package :
The text was updated successfully, but these errors were encountered: