Monthly Archives: May 2012

Merubah lsb-release, issue, issue.net di Jangkar

Kemarin pada waktu mendapatkan tutorial gimana mengubah ls-release, issue, issue.net kemudian software-centernya tidak error. kemudian saya mempraktekkannya dan hasilnya emang benar2 ga error, akan tetapi masih ada ganjalan bahwa dalam merubah lsb-relase anda tidak boleh merubah codename. dalam semalam aku mempelajari maka kita juga dapat merubah codename yang ada di lsb-release sehingga lengkap sudah hasil remasteran kita. oke langsung aja saya tuliskan cara yang aku gunakan.

Langkah-langkah merubah lsb-release, issue, issue.net
1. Merubah lsb-release

gedit /etc/lsb-release

yang asli
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION=”Ubuntu precise (development branch)”
aku rubah
DISTRIB_ID=Jangkar
DISTRIB_RELEASE=5.0
DISTRIB_CODENAME=embung
DISTRIB_DESCRIPTION=”Jangkar 5.0 Embung Edition”
2. Menyiapkan info dan mirrors

cp /usr/share/python-apt/templates/Ubuntu.info /usr/share/python-apt/templates/Jangkar.info
cp /usr/share/python-apt/templates/Ubuntu.mirrors /usr/share/python-apt/templates/Jangkar.mirrors

3. Merubah Jangkar.info
ini yang asli

Suite: precise
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Ubuntu.mirrors
MirrorsFile-i386: Ubuntu.mirrors
Description: Ubuntu 12.04 ‘Precise Pangolin’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Canonical-supported free and open-source software
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Community-maintained free and open-source software
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Proprietary drivers for devices
Component: multiverse
ParentComponent: universe
CompDescription: Restricted software
CompDescriptionLong: Software restricted by copyright or legal issues

aku copy terus aku taruh diatas dan di rubah

Suite: embung
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Jangkar.mirrors
MirrorsFile-i386: Jangkar.mirrors
Description: Jangkar 5.0 ‘Embung Edition’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Paket bebas dan utama
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Software Bebas didukung komunitas
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Software yang tidak bebas
Component: multiverse
ParentComponent: universe
CompDescription: Restricted software
CompDescriptionLong: Software dengan copyright

4. Merubah Ubuntu Software Center
copy file Ubuntu.py jadi Jangkar.py

cp /usr/share/software-center/softwarecenter/distro/Ubuntu.py /usr/share/software-center/softwarecenter/distro/Jangkar.py

ubah file Jangkar.py

gedit /usr/share/software-center/softwarecenter/distro/Jangkar.py

berikut hasil perubahan

class Jangkar(Debian):

# see __init__.py description
DISTROSERIES = [“embung”, “precise”,
“oneiric”,
“natty”,
]
lanjut

def get_app_name(self):
return _(“Jangkar Software Center”)

def get_app_description(self):
return _(“Lets you choose from thousands of applications available for Jangkar.”)

terus kebawah semua kata-kata Ubuntu (huruf U pakai yang besar) aku ubah menjadi Jangkar

Sumber: http://pro.xwaja.web.id/?p=6

Leave a Comment

Filed under Umum