Re: Go packaging guidelines?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 21, 2014 at 09:14:21AM -0500, Daniel J Walsh wrote:
> # rpm -ql libselinux-devel | grep go
> /usr/share/gocode/src/selinux
> /usr/share/gocode/src/selinux/selinux.go
> 
> Is the correct way for C libraries that we ship to provide go bindings?

libguestfs has shipped go bindings in Fedora for 7 months.  We do it
in a separate package which looks like this:

$ repoquery -ql golang-guestfs
/usr/lib64/golang/pkg/linux_amd64/libguestfs.org
/usr/lib64/golang/pkg/linux_amd64/libguestfs.org/guestfs
/usr/lib64/golang/src/pkg/libguestfs.org
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_010_load_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_020_create_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_030_create_flags_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_040_create_multiple_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_050_handle_properties_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_060_explicit_close_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_070_optargs_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_100_launch_test.go
/usr/lib64/golang/src/pkg/libguestfs.org/guestfs/guestfs_900_rstringlist_test.go
/usr/share/doc/golang-guestfs
/usr/share/doc/golang-guestfs/LICENSE
/usr/share/doc/golang-guestfs/create-disk.go
/usr/share/doc/golang-guestfs/inspect-vm.go
/usr/share/man/man3/guestfs-golang.3.gz

It's on my to-do list to take a look at the updated packaging draft to
see how close we are to it.  We matched the old packaging draft
correctly at the time that I added the bindings.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux