Re: [Rpm-maint] [rpm-software-management/rpm] Translations update from Fedora Weblate (PR #2167)

2022-10-03 Thread Weblate (bot)
@weblate pushed 6 commits.

7b0b4706f7fa43d50f74b95cbae2af127e0dbdd8  Translated using Weblate (German)
61038b0f11c9f6d9d6a0e2a7b772ad99340bff8c  Translated using Weblate (Russian)
2bd5c3456fd9d2b1c3698ae4eea2b5835693ee46  Translated using Weblate (Russian)
4478b8053b0e25ee3a2224c67a285eaee49dd917  Translated using Weblate (Russian)
8abc5d0e9aef96567b6584b557431aca97b9af0f  Translated using Weblate (Chinese 
(Simplified) (zh_CN))
85bcaf9dce57014bc9d61af833243000bbcedc07  Translated using Weblate (Chinese 
(Simplified) (zh_CN))

-- 
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2167/files/15d2e80b35d58b1e84b24db14753a7bf3d823272..85bcaf9dce57014bc9d61af833243000bbcedc07
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Add manual page for File Mode (PR #2215)

2022-10-03 Thread Michal Domonkos
Also note the text doesn't mention the capital/non-capital letter distinction 
mentioned in 
https://github.com/rpm-software-management/rpm/pull/1507#issuecomment-1018529205,
 see my comments in that thread for the context.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2215#issuecomment-1265688073
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Add manual page for File Mode (PR #2215)

2022-10-03 Thread Michal Domonkos
I'm not entirely convinced that adding a note about macro configuration to the 
RPM format page makes sense, though, as it's more of a user-facing thing than 
it is an internal implementation matter... but it's the only place in the docs 
that we dedicate to the Payload right now, so I can't think of anything better. 
Ideas welcome.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2215#issuecomment-1265683076
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Add manual page for File Mode (PR #2215)

2022-10-03 Thread Michal Domonkos
Fixes: #1895
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2215

-- Commit Summary --

  * Add manual page for File Mode

-- File Changes --

A docs/manual/file_mode.md (95)
M docs/manual/format.md (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2215.patch
https://github.com/rpm-software-management/rpm/pull/2215.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2215
You are receiving this because you are subscribed to this thread.

Message ID: rpm-software-management/rpm/pull/2...@github.com
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] How can I find details on the binary representation of the RPM DB? (Discussion #2211)

2022-10-03 Thread Demi Marie Obenour
> The details of the database format are OFF-LIMITS TO EXTERNAL USERS!
> 
> Sqlite is but one of the possible database formats. If you want to access the 
> rpm database, you do so through the librpm API.

Just because one should not access the rpmdb without going through librpm does 
not mean that one might not be curious about the actual rpmdb format.  I know I 
am!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2211#discussioncomment-3788032
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.18.0: Build errors

2022-10-03 Thread Scott Andrews
On Mon, 3 Oct 2022 15:35:24 +0300
Panu Matilainen  wrote:

> On 9/21/22 19:48, Scott Andrews wrote:
> > %prep
> > %setup -q -n %{name}-%{version}-release
> > sed 's:/bin/sh:/usr/bin/sh:' -i macros.in
> > sh autogen.sh --noconfigure
> > 
> > %build
> > _options=( --prefix=/usr
> > --program-prefix=
> > --sysconfdir=/etc
> > --sharedstatedir=/var/lib
> > --localstatedir=/var
> > --with-crypto=libgcrypt
> > --with-gnu-ld
> > --with-archive
> > --with-cap
> > --with-acl
> > --without-selinux
> > --enable-zstd
> > --enable-sqlite
> > --enable-python
> > --disable-openmp
> > --disable-dependency-tracking
> > --disable-silent-rules
> > --disable-nls
> > --disable-rpath)
> > ./configure ${_options[@]}
> > %{make_build}
> > 
> > make[3]: Entering directory
> > '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
> > fr/rpm.8.md -o fr/rpm.8 make[3]: no: No such file or directory
> > make[3]: *** [Makefile:883: fr/rpm.8] Error 127
> > make[3]: Leaving directory
> > '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' make[3]: *** Waiting
> > for unfinished jobs make[3]: Entering directory
> > '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
> > ja/rpm.8.md -o ja/rpm.8 make[3]: no: No such file or directory
> > make[3]: *** [Makefile:883: ja/rpm.8] Error 127
> > make[3]: Leaving directory
> > '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' make[3]: Entering
> > directory '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
> > ja/rpm2cpio.8.md -o ja/rpm2cpio.8 make[3]: no: No such file or
> > directory make[3]: *** [Makefile:883: ja/rpm2cpio.8] Error 127
> > make[3]: Leaving directory
> > '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' make[3]: Entering
> > directory '/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
> > ja/rpmbuild.8.md -o ja/rpmbuild.8 make[3]: no: No such file or
> > directory  
> 
> These are attempts to run 'pandoc' but it's not present, which is
> where the "no" comes from. But pandoc isn't needed building rpm from
> the source tarballs, the manual pages are shipped in the tarball.
> Unless of course the .md files have been touched.
> 
> Here's what those timestamps look on my system after unpacking the 
> 4.18.0 tarball:
> 
> -rw-r--r--. 1 pmatilai pmatilai  34668 Jun 28 10:16 docs/man/fr/rpm.8
> -rw-r--r--. 1 pmatilai pmatilai  30566 Apr  7 14:13
> docs/man/fr/rpm.8.md -rw-r--r--. 1 pmatilai pmatilai   1270 Jun 28
> 10:16 docs/man/ja/rpm2cpio.8 -rw-r--r--. 1 pmatilai pmatilai658
> Apr  7 14:13 docs/man/ja/rpm2cpio.8.md
> -rw-r--r--. 1 pmatilai pmatilai  72339 Jun 28 10:16 docs/man/ja/rpm.8
> -rw-r--r--. 1 pmatilai pmatilai  34450 Apr  7 14:13
> docs/man/ja/rpm.8.md
> 
> Also, the beta1 tarball had a bug wrt this, might want to
> double-check that.
> 
>   - Panu -
> 

I cloned the rpm repository and then created a archive of the 4.18.0 tag

When extracting the archive all the timestamps are dated as follows:

./fr:
total 40K
drwxr-xr-x 2 scott scott 4.0K Oct  3 09:55 .
drwxr-xr-x 8 scott scott 4.0K Oct  3 09:55 ..
-rw-r--r-- 1 scott scott  30K Sep 20 08:07 rpm.8.md

./ja:
total 64K
drwxr-xr-x 2 scott scott 4.0K Oct  3 09:55 .
drwxr-xr-x 8 scott scott 4.0K Oct  3 09:55 ..
-rw-r--r-- 1 scott scott  658 Sep 20 08:07 rpm2cpio.8.md
-rw-r--r-- 1 scott scott  34K Sep 20 08:07 rpm.8.md
-rw-r--r-- 1 scott scott 8.5K Sep 20 08:07 rpmbuild.8.md
-rw-r--r-- 1 scott scott 1.6K Sep 20 08:07 rpmgraph.8.md

This if from the tarball on rpm.org:

./fr:
total 76K
drwxr-xr-x 2 scott scott 4.0K Oct  3 10:02 .
drwxr-xr-x 8 scott scott 4.0K Oct  3 10:02 ..
-rw-r--r-- 1 scott scott  34K Jun 28 03:16 rpm.8
-rw-r--r-- 1 scott scott  30K Apr  7 07:13 rpm.8.md

./ja:
total 164K
drwxr-xr-x 2 scott scott 4.0K Oct  3 10:02 .
drwxr-xr-x 8 scott scott 4.0K Oct  3 10:02 ..
-rw-r--r-- 1 scott scott 1.3K Jun 28 03:16 rpm2cpio.8
-rw-r--r-- 1 scott scott  658 Apr  7 07:13 rpm2cpio.8.md
-rw-r--r-- 1 scott scott  71K Jun 28 03:16 rpm.8
-rw-r--r-- 1 scott scott  34K Apr  7 07:13 rpm.8.md
-rw-r--r-- 1 scott scott  18K Jun 28 03:16 rpmbuild.8
-rw-r--r-- 1 scott scott 8.5K Apr  7 07:13 rpmbuild.8.md
-rw-r--r-- 1 scott scott 3.7K Jun 28 03:16 rpmgraph.8
-rw-r--r-- 1 scott scott 1.6K Apr  7 07:13 rpmgraph.8.md

I am on an ARM platform and pandoc is not available

Is there a fix for building from the git version?

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.18.0: Build errors

2022-10-03 Thread Panu Matilainen

On 9/21/22 19:48, Scott Andrews wrote:

%prep
%setup -q -n %{name}-%{version}-release
sed 's:/bin/sh:/usr/bin/sh:' -i macros.in
sh autogen.sh --noconfigure

%build
_options=( --prefix=/usr
--program-prefix=
--sysconfdir=/etc
--sharedstatedir=/var/lib
--localstatedir=/var
--with-crypto=libgcrypt
--with-gnu-ld
--with-archive
--with-cap
--with-acl
--without-selinux
--enable-zstd
--enable-sqlite
--enable-python
--disable-openmp
--disable-dependency-tracking
--disable-silent-rules
--disable-nls
--disable-rpath)
./configure ${_options[@]}
%{make_build}

make[3]: Entering directory
'/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man fr/rpm.8.md
-o fr/rpm.8 make[3]: no: No such file or directory
make[3]: *** [Makefile:883: fr/rpm.8] Error 127
make[3]: Leaving directory '/home/rpi/BUILD/rpm-4.18.0-release/docs/man'
make[3]: *** Waiting for unfinished jobs
make[3]: Entering directory
'/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man ja/rpm.8.md
-o ja/rpm.8 make[3]: no: No such file or directory
make[3]: *** [Makefile:883: ja/rpm.8] Error 127
make[3]: Leaving directory '/home/rpi/BUILD/rpm-4.18.0-release/docs/man'
make[3]: Entering directory
'/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
ja/rpm2cpio.8.md -o ja/rpm2cpio.8 make[3]: no: No such file or directory
make[3]: *** [Makefile:883: ja/rpm2cpio.8] Error 127
make[3]: Leaving directory '/home/rpi/BUILD/rpm-4.18.0-release/docs/man'
make[3]: Entering directory
'/home/rpi/BUILD/rpm-4.18.0-release/docs/man' no -s -t man
ja/rpmbuild.8.md -o ja/rpmbuild.8 make[3]: no: No such file or directory


These are attempts to run 'pandoc' but it's not present, which is where 
the "no" comes from. But pandoc isn't needed building rpm from the 
source tarballs, the manual pages are shipped in the tarball. Unless of 
course the .md files have been touched.


Here's what those timestamps look on my system after unpacking the 
4.18.0 tarball:


-rw-r--r--. 1 pmatilai pmatilai  34668 Jun 28 10:16 docs/man/fr/rpm.8
-rw-r--r--. 1 pmatilai pmatilai  30566 Apr  7 14:13 docs/man/fr/rpm.8.md
-rw-r--r--. 1 pmatilai pmatilai   1270 Jun 28 10:16 docs/man/ja/rpm2cpio.8
-rw-r--r--. 1 pmatilai pmatilai658 Apr  7 14:13 
docs/man/ja/rpm2cpio.8.md

-rw-r--r--. 1 pmatilai pmatilai  72339 Jun 28 10:16 docs/man/ja/rpm.8
-rw-r--r--. 1 pmatilai pmatilai  34450 Apr  7 14:13 docs/man/ja/rpm.8.md

Also, the beta1 tarball had a bug wrt this, might want to double-check that.

- Panu -


___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix typo in macros manual (PR #2214)

2022-10-03 Thread Panu Matilainen
Merged #2214 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2214#event-7506339119
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix typo in macros manual (PR #2214)

2022-10-03 Thread Panu Matilainen
Thanks for spotting + the patch!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2214#issuecomment-1265305674
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint