Trinity Desktop Environment Packaging
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Slávek Banko 34145f8176
DEB: Automatically add ldconfig trigger if the package contains plugins.
As a result, it is no longer necessary to enforce ldconfig in postinst
and postrm scripts and this solves the problem with packages where the
ldconfig was not called after installation, but it was needed.

This resolves issue TDE/tdemultimedia#29.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
arch ArchLinux: Update for final R14.1.1. 1 year ago
ark Initial import from old SVN repository 14 years ago
debian DEB: Automatically add ldconfig trigger if the package contains plugins. 1 year ago
dilos DEB: Automatically add ldconfig trigger if the package contains plugins. 1 year ago
fedora Updates for TDE 3.5.12 for RHEL5 14 years ago
freebsd FreeBSD: Update for final R14.1.1. 1 year ago
gentoo@66eb8ae997 Reset submodule packaging/gentoo to latest HEAD 1 year ago
mageia RPM packaging: remove obsolete file 10 years ago
openbsd tdebase: adjusted to release_notes -> tde_release_notes change. 5 years ago
opensuse RPM Packaging: update qt3 for opensuse 10 years ago
raspbian DEB: updated supported distros. 2 years ago
redhat RPM: update build script for el9 2 years ago
slackware Initial import from old SVN repository 14 years ago
ubuntu DEB: Automatically add ldconfig trigger if the package contains plugins. 1 year ago
.gitmodules Gentoo: Files moved to a separate git repository. 5 years ago
README.GIT Update README.GIT file with link to Wiki 10 years ago

README.GIT

============================================================ DOCUMENTATION =======================================================

GIT tutorial on github:
http://schacon.github.com/git/gittutorial.html

GIT "cheat sheet"
http://jonas.nitro.dk/git/quick-reference.html

GIT for those who are used to centralized SCMs:
http://media.pragprog.com/titles/tsgit/chap-005-extract.html

TDE GIT documentation:
https://wiki.trinitydesktop.org/Project_GIT_Information

================================================================ HOWTO ===========================================================

To get a copy of the repo:
	git clone http://your-username@scm.trinitydesktop.org/scm/git/<repository name>

To exclude items:
	Create a file '.gitignore'

To add to the git repository (easiest and most efficient way):
	git add .
(this will add everything in the folder (excluding stuff from .gitignore). It is intentionally a period because * will make git stop on already committed files.)

To commit to the git repository (this does not send to the remote server!):
	git commit -a
(no need to do any git mv or git rm or any of that with the -a option.)

To pull recent commits from the remote git repository:
	git pull
(do this before pushing so that you don't collide with other's commits.)

To push to the remote git repository:
	git push origin master
(the 'origin master' part is optional after the first time.)

To branch (be careful! This is different from SVN.):
	git branch <name>
(don't know what branch you're on? run "git branch" to see and list.)

To switch branches:
	git checkout <branch name>

To tag a commit (like for releasing a tarball):
	git tag -a <version> -m <message>
(ps: this will make webgit generate a tarball with this tag.
easy releases anyone?)

To tag a commit WITH GPG verification (secure release anyone?):
	git tag -s <version> -m <message>



================================================================= NOTE ============================================================
GIT cannot store empty directories due to a intentional design limitation.

Therefore, this command should be run prior to any commits to ensure your empty directories stick around:

find . -type d -empty -exec touch {}/.gitignore \;

This will add a .gitignore to every empty directory.

================================================================ WORKFLOW ==========================================================


git clone http://your-username@scm.trinitydesktop.org/scm/git/<repository>

<make your changes, test, etc>

cd <repository checkout directory>
find . -type d -empty -exec touch {}/.gitignore \;
git add .
git commit -a
git pull
git push