Index.diff Packages file in a Repository - linux

I've tried googling and couldnt find much on this topic. I have this problem with my repo, I have tons of debian files that each time i scan-packages, it would take a whole lot of time to build the Packages file. I recently stumbled on to this:
It allows you to add newer packages to the repo with newer Packages file together.
Does anyone have an idea how this works? Thanks!

Related

How to update a Cygwin package that has no maintainer?

Many Cygwin's packages have no maintainer, is it still revelant to use Cygwin ?
I would like to update ruby or ansible package to the last version, how can I do that ?
Thanks
Package maintainers are volunteers.
Anyone can offer him/herself for the job.
Documentation
https://cygwin.com/packaging-contributors-guide.html
Mailing list for discussion about Maintainers
https://cygwin.com/mailman/listinfo/cygwin-apps
If you want to be a maintainer you must subscribe to the Cygwin mailing lists. All discussions about maintaining packages are there, and you will be required to post your credentials (i.e. public key) there in order to upload updated packages. Note that some orphan packages became so because the previous maintainer needed to reduce their workload.
Once you are subscribed, just ask to take over an orphaned package, upload your credentials, install the source package, make necessary changes, and upload the new package. It sounds easy, but you might want to build the package and make sure it runs all tests before asking to be the new maintainer.
Note that there may be others who have tried to update a package, and encountered blocking problems. Those will be discussed in the mailing lists, which you can search.

add chromium-browser package in buildroot

Good Day Everyone,
does anyone here knows how to add chromium-browser package on buildroot? I have been looking around the net to add the chromium-browser package, I found several files in Google Fiber Project and added the necessary files in my local repo but after the build process it wasn't added. I have found this Forum where someone says chromium is not included on the official Buildroot.
Any comment/suggestions are highly appreciated.
See the patch series at http://lists.busybox.net/pipermail/buildroot/2018-June/223323.html which was recently posted to the Buildroot mailing list. It hasn't been merged due to some outstanding comments/issues, but it provides a start, and we hope to have this merged in the near future.

Adding GitHub project to Launchpad PPA Package

I am trying to figure out how to add a GitHub project to my simple, working Launchpad PPA package. The GitHub project that I am try to add is https://github.com/compiz-reloaded/compiz-boxmenu. I couldn't find much help online and I'm hoping that someone can help point me in the right direction on how to accomplish this. Thanks!
You need to 'debianize' your package first. The debianization depends on the package type, and the manual for a package debianization is called Debian Policy.
This wiki is also very useful. Once you have your package debianized, you should compile it using the source option (I usually do it using dpkg-buildpackage -S. Pass your key using -k<Key> also. The same one you uploaded to your launchpad account.
Once you built your source, you will find a file called package_version.changes. You basically upload it as described in your PPA information. The package will be compiled, and, if no errors are found, it will be available in the PPA. If you want to enable the build for other architectures, as IBM POWER (ppc64el) or ARM (aarch64) , you should opt in.

Copy installed ghc and all packages to another machine

I am facing a peculiar problem. Here at high school I have got about 10 computers (all are same type, same type cpu, same type memory etc) donated which are now running Debian after reinstall. I was try to teach the pupils some Haskell, I myself learned it little. The kids are interested. A problem is our country is third world and the internet is very slow and costly. The basic ghc and ghci I installed using deb packages (found by using apt-rdepends) on all machines after once downloading all of the deb files only on one machine using some limited time free internet connection. It has taken more than 10 hours to download the all ghc deb files that are missing.
I want know if such trick is possible for cabal? I will download all required tar or other files once, on one computer, using the costly and slow internet, but then I do not want spend all my money to download from internet for all 10 computers.
I want show the kids diagrams and gloss package as it is enjoyable and funny.
I am inspired by this gentleman Smith
How should I do this ? Is there way for other packages in general other than diagrams and gloss?
Thank you and sorry for my bad English.
By default, cabal caches each package it downloads to ~/.cabal/packages (and prefers its cache to re-fetching the package unless you explicitly request a re-fetch). So it should be simple enough to just copy that directory between computers.
This would still require you to build all the packages on each machine. If you would prefer to skip even that step, you could consider directly copying GHC's package database around to each of the machines. This is a bit more delicate, but could save quite some time/power.
The global package database (where you should be installing packages that you want to be shared between users) is in /usr/local/lib/ghc-$version by default, and you should be able to copy that directory around to all your computers as well. You can check that you have installed the packages you want into the global database using ghc-pkg list, which will list all the package/version combos installed, separating them by whether they are installed in the global or user package database.
In the past I have done this to get GHC and Cabal working on a machine behind a firewall that "cabal install" couldn't see through.
You can use "wget" to download the latest version of every Hackage package. (Or you might try doing something similar with Stack, but I haven't tried that). Also download https://hackage.haskell.org/packages/index.tar.gz, which is the index file.
Install GHC, cabal and cabal-install, and then find the cabal-install configuration file and point it at a local repository containing the index.tar.gz package and the archives for the packages that you downloaded. Then hopefully you should find "cabal install" will work from the local repository.

CouchDB lounge patching

Does anyone know how to patch and install couchdb-lounge on a Ubuntu box?
Project here:
http://github.com/tilgovi/couchdb-lounge
Now, I know there is a installation instructions provided here:
http://wiki.github.com/tilgovi/couchdb-lounge/buildinstructions
but it seems out-of-date. From there I see that you need to patch one file but on the src I saw that there are multiple patch files. If I patched them all on CouchDB 0.10.1 it will give me a syntax error.
So my questions are:
Which version of CouchDB should I patch with?
Which patches do I need to patch before getting it to work?
Thanks,
Check here: http://nakubu.com/post/23
I followed the instructions and they seemed to work.
Sorry it's a bit late :)

Resources